JavaScript Symbol.prototype PropertyThe JavaScript Symbol.prototype symbol is used to produce the prototype for the symbol constructor. Note: Symbol.prototype is the parent of all symbol objects and parent of Symbol.prototype is obect.prototype.SyntaxParametersNo parameters Return valueThe prototype for the symbol constructor. Browser Support
Example 1Test it NowOutput: JavaTpoint Example 2Test it NowOutput: 10
Next TopicJavaScript Symbol
|