ES2015 aliases for ES6?
See original GitHub issueThis is similar to #5169, but in a backwards-compatible way.
Basically, an ability to specify ecmaVersion: 2015
that would behave just like ecmaVersion: 6
without deprecating the value 6
.
And an es2015
environment that would just be an alias for the es6
one.
I understand if you think the maintenance overhead from this isn’t worth it, but I wanted to check first 😃
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:14 (13 by maintainers)
Top Results From Across the Web
ES6 vs ES2015 - What to call a JavaScript version? - byte archer
You see both ES6 and ES2015 names used for the version of JavaScript that introduces arrow functions, template strings, and Promises.
Read more >ES2015 | Web - Google Developers
ES2015 (formally ES6) is a fantastic step forward for the JavaScript language. It brings new features and sugaring for patterns that ...
Read more >Learn ES2015 - Babel.js
ES2015 classes are syntactic sugar over the prototype-based OO pattern. Having a single convenient declarative form makes class patterns easier to use, and ......
Read more >Get started with ES2015 (ES6) and Meteor
This is a nice, readable syntax, and it creates named functions that will print their names correctly in stacktraces without using the longer,...
Read more >Valid JavaScript variable names in ES2015 - Mathias Bynens
ES2015 updates the grammar for identifiers. This affects a number of things, but most importantly, identifiers can be used as variable names ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After a quick offline chat, the TSC is all 👍 for this, so marking as accepted.
@mjomble feel free to submit a pull request
I’d be interested in working on a PR, depending on how complex it ends up becoming 😃