loading...

re: Assigning [ ] performs better than Array(n) - Reports attached. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Well you are doing an array.join on 2000 elements in the 2nd example and only 20 in the first. The fact that they are undefined and therefore add u...

Please refer,

dev.to/svaani/comment/12443

As you scroll down the comments, you will see the same discussion that went through. Looks like, chrome team has recently has optimized on holey arrays. Firefox gives different results even with the link that you have provided.

Code of Conduct Report abuse