enumerate(start?)

Returns an array of [index, value] entries for each value in this collection, counting all values from the given index.

The default start index is 0.

On collections

Usage

  • enumerate()
  • enumerate(start)