In order to be iterable, an object must implement the @@iterator method. This means that the object (or one of the objects up its prototype chain) must have a property with a Symbol.iterator key. If you want to create your own iterable object here is...

Markdown supported · ⌘↵ to post
No responses yet.