UNPKG

wat

Version:

Community-controlled cheat sheets for every coder.

10 lines (8 loc) 199 B
## .keys() Returns an iterator that returns the index values of the array. ```js const k = ["a", "b", "c"].keys(); // k.next().value == 0 // k.next().value == 1 // k.next().value == 2 ```