Skip to content

Latest commit

 

History

History
executable file
·
10 lines (8 loc) · 234 Bytes

File metadata and controls

executable file
·
10 lines (8 loc) · 234 Bytes

.values()

Returns an iterator that returns the values of the array.

const v = ['a', 'b', 'c'].values();
const a = v.next().value; // 'a'
const b = v.next().value; // 'b'
const c = v.next().value; // 'c'