Tag Archives forawait

JavaScript Iterators

Introduction When we talk about iterators there are two main protocols to be aware of: iterables and iterators. Iterables are data structures that can be iterated. Such example is array, since we can loop through every element of array. Iterator is a simple interface for looping through data – looping through iterable. Iterator is an object […]

Continue reading