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