...

/

Array with a Skipped Value

Array with a Skipped Value

This lesson goes over how to skip a value on an array.

An array doesn’t require all their indices to be defined sequentially.

const arr = [0, 1, 2, 3, 4]; // Unskipped array

When an index is ...