JS: Iterator Prototype
New in ES2015.
[see JS: Iterator]
There's no direct syntax for it. But you can get it by
const iteratorProto = Object.getPrototypeOf ( Object.getPrototypeOf ( [Symbol.iterator] ) );
You can add properties to this iterator prototype, so all builtin iterators will inherit it.
JS Iterable ⭐
If you have a question, put $5 at patreon and message me.