DEV Community

Discussion on: Use Objects than Arrays For Large Data in JS

Collapse
lexlohr profile image
Alex Lohr

If you had used the array index as an actual index, it would have been a fair comparison. This way, you're obviously just setting up arrays to fail spectacularly.