Iterator Protocol
The next() method contract used to produce a sequence of values.
What is Iterator Protocol in JavaScript?
Iterator Protocol — The next() method contract used to produce a sequence of values.
const iterator = ["Ada", "Lin"][Symbol.iterator]();
const first = iterator.next();
Level: Freelancer · More JavaScript terms at this level
Updated