Call function with parameters
Rest
const f = Math.random();Jodit.modules.Helpers.call(f > 0.5 ? Math.ceil : Math.floor, f); Copy
const f = Math.random();Jodit.modules.Helpers.call(f > 0.5 ? Math.ceil : Math.floor, f);
If you like Jodit - try Jodit PRO
Call function with parameters