Add const and let features - #330
Conversation
Corresponds to https://caniuse.com/const
Corresponds to https://caniuse.com/let
|
Is there any prior discussion about feature group definitions that include just a single feature? Do we generally think groups with just one feature are useful? Would you create a group for the JavaScript |
|
At least for parts of JavaScript that are old by now, I think we should have groups like "es5", "es6", etc., and put these into "es6". I think we can lump everything pre-ES6 into ES5, and we also need to decide if/when we switch from version numbers to years. https://en.wikipedia.org/wiki/ECMAScript_version_history is a good starting point to understand the evolution. |
|
I've filed #558 to track that idea. |
|
I'm going to withdraw this for now. Snapshots seems to be the direction of an answer for some of this, so let's come back to this later. |
At some point, I'll be making an ES6 group, so these will eventually join that group. Otherwise, these would feel pretty trivial.
These correspond to:
This is a new feature. Here are some ideas for reviewing it: