top | item 7873756

(no title)

creatio | 11 years ago

Anyone know if array comprehensions are also supported in chrome?

discuss

order

pit|11 years ago

    var xs = 1, 2, 3
    [for (x of xs) x * 2]
    SyntaxError: Unexpected token for
Chrome Version 35.0.1916.114