[][src]Module boa::builtins::symbol

This module implements the global Symbol object.

The data type symbol is a primitive data type. The Symbol() function returns a value of type symbol, has static properties that expose several members of built-in objects, has static methods that expose the global symbol registry, and resembles a built-in object class, but is incomplete as a constructor because it does not support the syntax "new Symbol()".

Every symbol value returned from Symbol() is unique.

More information:

Functions

call_symbol

Creates Symbol instances.

create

Create a new Symbol object.

init

Initialise the Symbol object on the global object.

to_string

Symbol.prototype.toString()