Returns an iterable of keys (indices) in the array.
keys()
An iterable of keys.
[...["tea", "coffee", "juice"].keys()]
[0, 1, 2]