42

前端小生面试之看不懂的 []+{}

 6 years ago
source link: https://juejin.im/post/5a9bd5cf51882555784d675b
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.
面试滑铁卢 有一天,去面试,遇到这样的题: []+[] {}+{} 1+[] ???WTF,谁会没事这么写代码,好吧,我错了,大佬别打我。懵逼之后要干嘛?当然是要学习一波,于是我满世界找资料,有好东西当然是要分享一波,好了,接下来我们就一起走进 JavaScr

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK