▲ Let's Add Some Sugar to Javascript with Jewell at medium.com▼1 up and 1 down, posted by pedsmoreira 2603 days ago 3 comments
tracker1 2601 days ago. link parent 1 point ▲ ▼I guess, simply having an Iterable interface would be enough... You'd just check the object/array for instance[Symbol.iterator] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators