JavaScript allows the use of these shortcuts to improve code readability.
You can use the ~~ operator instead of Math.floor().
You can always adjust the size of the Array through Array.length, often cutting it in half or even leaving it empty.
Still using the shortcuts, you can have default values in case of inconsistency in variables or parameters.
You can, and even must, explore more of the console’s powers.