4 ms·
Is this syntax part of ECMAScript 6? I.E. will it eventually be supported by all browsers?
by jwoah12 13y ago
Is this syntax part of ECMAScript 6? I.E. will it eventually be supported by all browsers?
- robcee 13y agoit is part of ES6 and should make it to V8 eventually. Soon, I hope!
- janekk 13y agoIf you want to use it now and get full browser support, you can use the TypeScript compiler, which will compile into ES3 or ES5 targets. It also supports ECMAScript 6's classes syntax. It's pretty neat to use this tech now on production sites and not having to worry about browser support. http://en.wikipedia.org/wiki/TypeScript#ECMAScript_6_support http://en.wikipedia.org/wiki/TypeScript#ECMAScript_6_support