- apply()
- The
apply()method calls a function with a giventhisvalue andargumentsprovided as an array (or an array-like object).
- The
- bind()
- The
bind()method creates a new function that, when called, has itsthiskeyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called.
- The
- call()
- The
call()method calls a function with a giventhisvalue and arguments provided individually. - Note: While the syntax of this function is almost identical to that of
apply(), the fundamental difference is thatcall()accepts an argument list, whileapply()accepts a single array of arguments.
- The