4 ms·
JavaScript parseInt() with leading zeros
- wilsonfiifi 12y agoNode.js (v8) it seems automatically sets parseInt() base to 10 whereas spidermonkey doesn't. I got bitten when testing code in node.js before exporting it to Couchdb's map function.
4 ms·