Skip to content

REPL could print Symbol more verbosely  #7639

Closed
@bouzlibop

Description

@bouzlibop
  • 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)?

screen shot 2016-07-09 at 22 04 00

Metadata

Metadata

Assignees

No one assigned

    Labels

    utilIssues and PRs related to the built-in util module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions