Symbol Prototype Properties

Symbol.prototype.description

Returns the description of the symbol.


var s = Symbol("libraryX");

console.log(s.toString());
console.log(s.description);

Symbol(libraryX) libraryX