![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 2 years ago | - | |
![]() | CHANGELOG.md | 40 years ago | 5.6K | |
![]() | LICENSE | 40 years ago | 1.0K | |
![]() | README.md | 40 years ago | 1.6K | d768d73 docs [كارل مبارك] |
![]() | index.js | 40 years ago | 420 | 3e510ca test new git [كارل مبارك] |
![]() | package.json | 2 years ago | 3.6K | 3e510ca test new git [كارل مبارك] |
![]() | shams.js | 40 years 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