Like fn.call(thisArg, ...args), but monomorphic, and the thisArg parameter can be omitted or null.
fn.call(thisArg, ...args)
thisArg
This is mostly useful as syntax sugar for an immediately-evaluated function expression, replacing (() => {...})() with call(() => {...}).
(() => {...})()
call(() => {...})
Optional
Like
fn.call(thisArg, ...args)
, but monomorphic, and thethisArg
parameter can be omitted or null.This is mostly useful as syntax sugar for an immediately-evaluated function expression, replacing
(() => {...})()
withcall(() => {...})
.