![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | a year ago | - | |
![]() | CHANGELOG.md | a year ago | 7.5K | |
![]() | LICENSE | a year ago | 1.0K | |
![]() | README.md | a year ago | 2.0K | 595aea1 more query options + view options [كارل مبارك] |
![]() | index.js | a year ago | 420 | |
![]() | package.json | a year ago | 2.6K | afd0ccc remove unused [كارل مبارك] |
![]() | shams.js | a year ago | 1.7K |
Determine if the JS environment has Symbol support. Supports spec, or shams.
var hasSymbols = require('has-symbols');
hasSymbols() === true; // if the environment has native Symbol support. Not polyfillable, not forgeable.
var hasSymbolsKinda = require('has-symbols/shams');
hasSymbolsKinda() === true; // if the environment has a Symbol sham that mostly follows the spec.
Simply clone the repo, npm install
, and run npm test