![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 2 years ago | - | |
![]() | CHANGELOG.md | 2 years ago | 7.5K | |
![]() | LICENSE | 2 years ago | 1.0K | f0d2fc9 test post-receive hook [كارل مبارك] |
![]() | README.md | 2 years ago | 2.0K | 15de0e0 styling, texts [كارل مبارك] |
![]() | index.js | 2 years ago | 420 | 15de0e0 styling, texts [كارل مبارك] |
![]() | package.json | 2 years ago | 2.6K | 120707f added node version q18.16 to dependincies [كارل مبارك] |
![]() | shams.js | 2 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