// Don't do this:
const badHoleyArray = new Array(10);Will be forevermore marked as HOLEY (cannot be undone by filling the holes!) and preclude engine's optimizations for arrays.
// Don't do this:
const badHoleyArray = new Array(10);Will be forevermore marked as HOLEY (cannot be undone by filling the holes!) and preclude engine's optimizations for arrays.