Standard built-ins
Iterator
Global constructor/prototype family for helper-capable synchronous iterators. Direct construction with new Iterator() is not supported; use a derived class or Iterator.from.
Formal Syntax & Structure
javascript syntaxjavascript
Iterator.from(iterableOrIterator)Working Example
Example Snippetjavascript
console.log(typeof Iterator.prototype.map);