Home » JavaScript Symbol prototype Property

JavaScript Symbol prototype Property

by Online Tutorials Library

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

Test it Now

Output:

TutorAspire  

Example 2

Test it Now

Output:

10  

Next TopicJavaScript Symbol

You may also like