News for hackers. Stuff that matters.
Re:Firefox 30.0 by creatio on Tuesday June 10, 2014 @12:59PM (#7873756)
Anyone know if array comprehensions are also supported in chrome?
Re:Firefox 30.0 by pit on Tuesday June 10, 2014 @01:08PM (#7873846)

    var xs = 1, 2, 3
    [for (x of xs) x * 2]
    SyntaxError: Unexpected token for
Chrome Version 35.0.1916.114
Re:Firefox 30.0 by cpeterso on Tuesday June 10, 2014 @02:53PM (#7874574)
Not yet. Looks like only Firefox 30+ supports array and generator comprehensions:

http://kangax.github.io/compat-table/es6/#Array_comprehensio...