Function.prototype.call() - JavaScript | MDN - MDN Web Docs
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call
WEBFeb 23, 2024 · The call() method of Function instances calls this function with a given this value and arguments provided individually. Try it. Syntax. js. call(thisArg) call(thisArg, arg1) call(thisArg, arg1, arg2) call(thisArg, arg1, arg2, /* …, */ argN) Parameters. thisArg. The value to use as this when calling func.
DA: 17 PA: 29 MOZ Rank: 94