Created
April 23, 2019 18:47
-
-
Save shisama/ef1e09331cf1a2c819a56c5a7c458b34 to your computer and use it in GitHub Desktop.
Symbol#description - New JavaScript Features in Node.js v12
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
console.log(Symbol('desc').description); | |
// expected output: "desc" | |
console.log(Symbol.iterator.description); | |
// expected output: "Symbol.iterator" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment