Last active
April 26, 2020 18:30
-
-
Save shonnly/4e4a4e7965b59dcbde818f2a82a33938 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var s = Symbol('foo'); | |
alert(s); // Uncaught TypeError: Cannot convert a Symbol value to a string | |
// use alert(s.toString()) or alert(s.description) instead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment