Data Structures with Iterable Protocol

added by JavaScript Kicks
1/28/2019 8:36:05 AM

292 Views

Iterating data structures with for-of loop and spreading them with spread operator( ...). Iterators and Generators have been around for a while. They have changed the way we loop through the values of an object. Earlier, we used to use the loop to iterate over the values, but there was no guarantee of the order in which values will be iterated.


0 comments