You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct
that this project adheres to.
I have searched the issue tracker for an issue that matches the one I want
to file, without success.
Description of the problem
I was reading JavaScript: The Definitive Guide, and trying some Set methods with CodeSandbox, and found the add() method returns different values in IDE console panel and Chrome build-in console.
The add() method takes a single argument; if you pass an array, it adds the array itself to the set, not the individual array elements. add() always returns the set it is invoked on
IDE console
Chrome built-in console
How has this issue affected you? What are you trying to accomplish?
I think it's a language implementation level problem.
Version 90.0.4422.0 (Official Build) canary (x86_64)
Operating System
macOS Big Sur Version 11.2.1
The text was updated successfully, but these errors were encountered:
akasuv
changed the title
The add() method of Set returns wrong value in webpage IDE console panel
The add() method of Set returns wrong values in webpage IDE console panel
Feb 19, 2021
This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.
This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.
馃悰 bug report
Preflight Checklist
Contributing Guidelines
for this project.
Code of Conduct
that this project adheres to.
to file, without success.
Description of the problem
I was reading JavaScript: The Definitive Guide, and trying some
Set
methods with CodeSandbox, and found theadd()
method returns different values in IDE console panel and Chrome build-in console.IDE console
Chrome built-in console
How has this issue affected you? What are you trying to accomplish?
I think it's a language implementation level problem.
To Reproduce
Check the link below
Link to sandbox: link
Your Environment
The text was updated successfully, but these errors were encountered: