![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 2 years ago | - | |
![]() | CHANGELOG.md | 2 years ago | 7.5K | |
![]() | package.json | 2 years ago | 2.6K | 2324c9f added npm start script [كارل مبارك] |
![]() | README.md | 2 years ago | 2.0K | 9b1f1b9 rm old utils [كارل مبارك] |
![]() | shams.js | 2 years ago | 1.7K | |
![]() | LICENSE | 2 years ago | 1.0K | |
![]() | index.js | 2 years ago | 420 | 8b8b68d rm everythin MOTD related [كارل مبارك] |
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