const iterator = {
// ⭐️ iterator must have `next()` method
next() {
// return iteration result ...
},
// ⭐️ iterable must have "make iterator" method
[Symbol.iterator] () {
// because `iterator` is itself an iterator,
// we can simply return itself. ⭐️
return this;
},
};