getting academic on the JavaScript Array
¶ by Rob FrieselAn experiment (in part to settle something of academic debate); what is faster new Array() or [] 1? The function for the test case: Yes, I realize that test #2 and test #5 result in an array with a length of 2,000,000 (vs. 1,000,000 for the other 4 tests). Now for some chart porn; results: […]