top | item 6488753

(no title)

teamnyble | 12 years ago

Combine this with arrow function syntax (which is already in Firefox):

    let square = x => x * x
 
And the next version of JavaScript is looking much more fun to work with!

discuss

order

spoiler|12 years ago

Chrome also supports it if you enable Harmony

teamnyble|12 years ago

Really? I have harmony enabled in chrome://flags, but no arrow function syntax?