Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upconst is too verbose! Make it default when assignment is done by := #1276
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
annevk
Jul 26, 2018
Contributor
This is not the right place to propose changes to ECMAScript. I recommend reading through https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md.
|
This is not the right place to propose changes to ECMAScript. I recommend reading through https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md. |
ljharb
closed this
Jul 26, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kimilhee commentedJul 26, 2018
Feature Request
I think good language has a good default syntax.
In es6 and above, more than 95% of the variables is declared as const.
Then, let's make it default!
My Feature request
Instead of this
This is far better! concise and shorter!
I know that this one declaration seems not so much difference.
But, you con easily find the following case!
Let's do it just like this.
Done.