Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I felt dumb not recognizing const, let, or the fat arrow as javascript constructs...

Are they Firefox only? Or is Firefox the only one shipping the new standard? All my Googling only gives me Mozilla results; I do JS full time and haven't heard of these.



A nice set of slides explaining es6 syntax.

https://speakerdeck.com/rauschma/using-ecmascript-6-today


As the link in the article states you can use all of these with https://github.com/babel/babel today, here is a quick and recent overview of new features http://www.2ality.com/2015/02/using-es6-today-minsk.html


Those are new in ECMAScript 2015 (f.k.a. ES6). Check out Kangax's compat table[1] for support.

[1] http://kangax.github.io/compat-table/es6/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: