DEV Community

Discussion on: Assigning [ ] performs better than Array(n) - Reports attached.

 
svaani profile image
Vani Shivanand

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.