Symbol
Symbol namespace.
Usage
var ns = require( '@stdlib/symbol' );
ns
Symbol namespace.
var o = ns;
// returns {...}
The namespace contains the following:
AsyncIteratorSymbol
: async iterator symbol which specifies the default async iterator for an object.Symbol( [description] )
: symbol factory.IteratorSymbol
: iterator symbol which specifies the default iterator for an object.
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@stdlib/symbol' );
console.log( objectKeys( ns ) );