Javatpoint Logo
Javatpoint Logo

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:

JavaTpoint

Example 2

Test it Now

Output:

10

Next TopicJavaScript Symbol




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA