-
-
Notifications
You must be signed in to change notification settings - Fork 35.2k
REPL could print Symbol more verbosely #7639
Copy link
Copy link
Closed
Labels
utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Description
- Version: v6.0.0 (also tested on v6.3.0)
- Platform: macOS Sierra Version: 10.12 Beta
Number(3) // prints 3
Object(Number(3)) // prints [Number: 3]
Symbol('a') // prints Symbol(a)
Object(Symbol('a')) //prints Symbol {}Why in last case it does not print Symbol(a) as it does for primitive (line above) and for object as well in Chrome (see screen below)?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
