-
Notifications
You must be signed in to change notification settings - Fork 857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove let expressions
support
#923
Comments
General advice tends to be to not remove things that work, because you never know who might be using it. I could see excluding it from language version 200+. |
Right now, our compatibility practice has been to not break things for
language level < 200, but for language level >= 200 we should try to
match the spec. So I would be scared to remove this unless we can only do
it for the latest language levels.
I realize that other JS engines don't do this -- they just keep moving
forward. But again with Rhino embedded into so many things I hope that by
keeping it compatible we can encourage people to upgrade and take advantage
of the other good things that we're doing.
…On Fri, Jun 4, 2021 at 4:23 PM tonygermano ***@***.***> wrote:
General advice tends to be to not remove things that work, because you
never know who might be using it. I could see excluding it from language
version 200+.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#923 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD7I25VRQMNQBX3SCJH6BDTRFN5VANCNFSM46CNIYUQ>
.
|
Think it's doable to just disable this when the language version is >= 200, but... The reason I came across this was that I was looking to see what it would take to make the But it does being up the question how to do a standard compliant If you look at #326 and it's linked cases, fixes for all of them would constitute behavior changes, from non-standard, to standard-compliant behavior |
Also see @rbri's comment: #326 (comment) |
Looks like the let implementation supports
let expressions
, something from ES4 that never made it.See:
OK with tossing it out?
The text was updated successfully, but these errors were encountered: