gergospel.blogg.se

Ecmascript 6
Ecmascript 6













“The new module syntax gives developers granularity and flexibility it gives you a very fine-grained way of importing because each project is a folder and each file is a module and you can just import the ones you want.” Turner believes that’s powerful enough to make it worth switching.

ecmascript 6

“Before you had to decide which module format you wanted to use now you have a unified syntax,” said Turner. Using modules to organize your code is a basic programming feature that you previously needed to use extra tools to take advantage of in JavaScript. The two biggest new features are probably modules and classes. That adds up to a wide range of improvements with more concurrency patterns and more tools for modular design and code organization. “While ES5 was released 6 years prior, ES2015 is the culmination of 15 years of effort that started when the committee began working on the unreleased ES4 specification around the year 2000,” explains Brian Terlson, editor of the ECMAScript standard, and a senior program manager on the Microsoft Edge team. It really comes out feeling like a new language,” said Jonathan Turner, who’s recently moved from running Microsoft’s TypeScript transpiler project to Mozilla. Twenty years after the first version of JavaScript and six years after the last update to the official ECMAScript standard it’s developed into, we’re finally getting a new version of JavaScript/ECMAScript. ES2015 is the largest ever update to JavaScript.ĮCMAScript 6 - now called ES2015 because that’s when the committee voted to adopt the draft spec - is important not just for the host of new features, but because it’s start of annual updates to the JavaScript spec.

ecmascript 6

The language we build the Web with can officially develop as fast as the Web does.















Ecmascript 6