简体   繁体   中英

Nature of the call method on Function.prototype

函数对象上的[[Call]]函数与用于控制函数调用的接收者的调用函数是否完全相同?

No, [[Call]] is an internal method (for specification purposes only). It's defined for user-created functions or bound functions , but can also be implemented on host objects.

The Function.prototype.call method , an actual language-accessible object, is different from it, though it invokes [[Call]].

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM