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 |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India