Unlike Python, Ruby, PHP, or Perl, there is no versioning number for JavaScript's core. The language itself is governed by the ECMAScript standard, that uses various notations between different versions of the JS syntax.
The currently version of ECMAScript that decides what's valid JavaScript syntax and what's not is ECMA-262 Edition 5.1 edition. The future version, the one on which new development is being carried out is the 6.x Edition.
Here's where Traceur comes into handy, allowing developers to write code in ECMAScript 6, taking that code and converting it to valid ECMAScript 5.
This way, the code that developers write, taking advantage of various new JS features gets translated with Traceur to the old syntax, approximately the same, ready for deployment in a ES5-compliant browser.
You can use Traceur to either learn or test out new ES6 features, and test it out in your current browser without having to use a custom ES6 interpreter.
Even if theoretically Traceur produces ES5 friendly code, it should not be used for writing production-ready code, mainly because the ES6 standard tends to change (a lot).
Requirements:
- Node.js 0.10 or higher
Comments not found