Symbol Prototype Properties

Symbol.prototype.description

Returns the description of the symbol.


RESETRUNFULL
<!DOCTYPE html><html><body><script>

var s = Symbol("libraryX");console.log(s.toString());   // Symbol(libraryX)console.log(s.description);  // libraryX

</script></body><html>