ECMAScript 6 and Array Comprehension

Akkiraju Ivaturi Feb 02, 2013
Many modern programming languages support list comprehension, a concise way to create a list based another list where each entry is the result of some operations. If comprehension is used properly, it eliminates the need for the traditional and error-prone manual iteration. Next-generation JavaScript will have the similar feature via array comprehension.