12

与歌谣一起通关前端面试题(建议收藏,持续更新)

 3 years ago
source link: https://blog.csdn.net/weixin_43392489/article/details/112095661
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

与歌谣一起通关前端面试题(建议收藏,持续更新)_小歌谣(公众号同名)的博客-CSDN博客

[js] 一道变态题 Number.call.call(Number, undefined, 0) 等于什么? call 的第一个参数用于改变上下文,由于没有用到 this,第一个参数 Number 实际上没有用。

Number.call(Number, undefined, 0) 等价于 Number(undefined, 0),由于 Number 只会接受第一个参数。 Number.call.call(Number, undefined, 0) 等价于 Number.call(und


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK