4 ms·
With Babel you can always be sure you're on top of things, with experimental stages being available to the user for testing future language proposals (ES7, ES8,
by cnp 11y ago
With Babel you can always be sure you're on top of things, with experimental stages being available to the user for testing future language proposals (ES7, ES8, ES20) and a to-die-for plugin architecture. ES6 has become pretty minimal --not as minimal as CoffeeScript, but getting there, with things like:
let { destructured, vars } = myObject
let foo = (num) => num * 2
class Foo extends Bar {
constructor() {
this.callFoo()
}
callFoo() {
// Note the simple syntax
}
}
Also, remember: no need for semicolons, but be aware when they can hang you up! (IIFE's, etc).