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.
Patreon me $5. Ask me question on patreon