81
JavaScript Symbol.prototype Property
The 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.
Syntax
Parameters
No parameters
Return value
The prototype for the symbol constructor.
Browser Support
Chrome | 32 |
Safari | 8 |
Firefox | 29 |
Opera | 19 |
Example 1
Output:
TutorAspire
Example 2
Output:
10
Next TopicJavaScript Symbol