News for hackers. Stuff that matters.
Re:EcmaScript Sixth Edition by espadrine on Thursday July 03, 2014 @04:41AM (#7982097)
Iterables can have many forms (Strings, Arrays, Maps…), so having a forEach method is tricky.

On the other hand, most iterables have their own methods to loop around values. Arrays and Maps both have a .forEach() method.

There are no comments on this comment yet.