|
|
|
|
|
by dkopi
3714 days ago
|
|
ES2015 was finalized in June 2015. Comprehensions aren't part of it. If you ask MDN:
Was initially in the ECMAScript 6 draft, but got removed in revision 27 (August 2014). Please see older revisions of ES 6 for specification semantics. Non-standard. Do not use!
The array comprehensions is non-standard, and it's unlikely to be added to ECMAScript. For future-facing usages, consider using Array.prototype.map, Array.prototype.filter, and arrow functions. Array comprehensions were removed in Babel 6.0 |
|