6 ms·
Anyone know if array comprehensions are also supported in chrome?
by creatio 12y ago
Anyone know if array comprehensions are also supported in chrome?
- pit 12y agovar xs = 1, 2, 3 [for (x of xs) x * 2] SyntaxError: Unexpected token for Chrome Version 35.0.1916.114
- cpeterso 12y agoNot yet. Looks like only Firefox 30+ supports array and generator comprehensions: http://kangax.github.io/compat-table/es6/#Array_comprehensions http://kangax.github.io/compat-table/es6/#Array_comprehensio...