-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Spec violation? #21106
Comments
Tagged template functions ( |
No, my point is that it should indeed be the same reference to the same array. See this: https://www.ecma-international.org/ecma-262/8.0/index.html#sec-gettemplateobject Paragraph 4: I tested on Chrome 63 and it logs @Trott PTAL |
cc @nodejs/v8 |
This was also reported over at https://bugs.chromium.org/p/v8/issues/detail?id=7801. Since this is a V8 issue and it doesn't look like V8 will change behavior right now, I'll go ahead and close this out. |
Shouldn't this
evaluate to
true
according to the ES specification? I found this yesterday on Firefox (gecko) bug tracker, but I can't find the issue right now. It seems that Node.js has the same issue. I also read the spec and IIUC it seems like this snippet should evaluate totrue
but I'm not sure.Any opinions?
The text was updated successfully, but these errors were encountered: