Symbol is a constructor but not a constructor #260
Unanswered
Pentadome
asked this question in
WTF Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Symbol
is not a constructor, nevertheless, it is the value ofSymbol.prototype.constructor
. This is because, unlike booleans, symbols cant be explicitly boxed.Beta Was this translation helpful? Give feedback.
All reactions