47

44 道 JavaScript 难题(JavaScript Puzzlers!)

 5 years ago
source link: https://juejin.im/post/5b1f899fe51d4506c60e46ee
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.
JavaScript Puzzlers原文 1. ["1", "2", "3"].map(parseInt) 答案:[1, NaN, NaN] 解析:parseInt (val, radix) :两个参数,val值,radix基数(就是多少进制转换)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK