An ECMAScript spec-compliant
Symbol.prototype.description shim. Invoke its "shim" method to shim Symbol.prototype.description if it is unavailable.
Symbol#description requires a true ES6 environment, specifically one with native Symbols.
Most common usage:
var description = ;;;;;// note: this should be the empty string, but in many engines,// it is impossible to distinguish Symbol() and Symbol('')// without globally replacing `Symbol`;if !Symbolprototypedescriptiondescription;;;;;; // this works fine!
Simply clone the repo,
npm install, and run