JSFiddle - React, Tailwind, and code Playground
by Dan Schultz
JavaScript
const start = new Date();
const array = [];
array[1000000] = 1;
const end = new Date();
console.log('time', (end.getTime() - start.getTime()));
console.log('array len', array);