question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ES2015 aliases for ES6?

See original GitHub issue

This 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:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:14 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
nzakascommented, Jul 27, 2016

After a quick offline chat, the TSC is all 👍 for this, so marking as accepted.

@mjomble feel free to submit a pull request

2reactions
mjomblecommented, Jul 24, 2016

I’d be interested in working on a PR, depending on how complex it ends up becoming 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found