I have an array with alot of items, and I am creating a list of them. I was thinking of paginating the list. I wonder how can I start a forEach or for
forEach
for
array.values() to get the iterator, .next() it and use it.
.next()
let ar=[1,2,3,4] var _;for(let a of(_=ar.values(),_.next(),_)){ console.log(a) }