JavaScript Puzzlers javascript解惑原文:http://javascript-puzzlers.herokuapp.com/
Javascript环境: 浏览器标准 ECMA 262 (5.1)
运行结果可能跟node 或者jsc var six = 0.6[two - one == one, eight - six == two]
[true, true][false, false][true, false]other JavaScript c = 10 sidEffecting(arguments); return a + b + c;}bar(1,1,1)
312errorother The result is 21, in javascript 1111;a + b;
111111111111111111111111111111111111110000NaNInfinity Lack of precision for numbers in JavaScript [,,,].join(", ")
", , , ""undefined, undefined, undefined, undefined"", , """ JavaScript allows a