Iterators and generators

Posted on Sunday, December 06, 2015 @ 11:11:47 PST in Documentation
by kguske

southern writes:  

Processing each of the items in a collection is a very common operation. JavaScript provides a number of ways of iterating over a collection, from simple for loops to map() and filter(). Iterators and Generators bring the concept of iteration directly into the core language and provide a mechanism for customizing the behavior of for...of loops.

more: Mozilla Developer Network

 
 
click Related        click Share
 
News ©

Site Info v2.2.2

Last SeenLast Seen
Server TrafficServer Traffic
  • Total: 342,105,547
  • Today: 54,862
Server InfoServer Info
  • Nov 18, 2017
  • 06:53 pm PST
 
 

Daily Inspiration