Skip to content

Instantly share code, notes, and snippets.

@shisama
Created April 23, 2019 18:47
Show Gist options
  • Save shisama/ef1e09331cf1a2c819a56c5a7c458b34 to your computer and use it in GitHub Desktop.
Save shisama/ef1e09331cf1a2c819a56c5a7c458b34 to your computer and use it in GitHub Desktop.
Symbol#description - New JavaScript Features in Node.js v12
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