UNPKG

wat

Version:

Community-controlled cheat sheets for every coder.

10 lines (8 loc) 234 B
## .values() Returns an iterator that returns the values of the array. ```js const v = ['a', 'b', 'c'].values(); const a = v.next().value; // 'a' const b = v.next().value; // 'b' const c = v.next().value; // 'c' ```