method | parameter | return value |
---|---|---|
Function.prototype.bind |
(thisArg, arg1, arg2...) |
New function |
Function.prptotype.call |
(thisArg, arg1, arg2...) |
Return value after function execution |
Function.prototype.apply |
(thisArg, args: []) |
Return value after function execution |
The difference between javascript bind, call and apply methods
Guess you like
Origin blog.csdn.net/SJ1551/article/details/109294337
Recommended
Ranking