What are the differences between this line:
var a = parseInt(\"1\", 10); // a === 1
and this line
var a = +\"1\"; // a ===
Be carefull, parseInt is faster than + unary operator in Node.JS, it's false that + or |0 are faster, them are faster only for NaN elements.
Check this out:
var arg=process.argv[2]; rpt=20000; mrc=1000; a=[]; b=1024*1024*1024*1024; for (var i=0;i