Muqriz 48f16bfc3e initail first | il y a 4 mois | |
---|---|---|
.. | ||
.github | il y a 4 mois | |
test | il y a 4 mois | |
.eslintrc | il y a 4 mois | |
.nycrc | il y a 4 mois | |
CHANGELOG.md | il y a 4 mois | |
LICENSE | il y a 4 mois | |
README.md | il y a 4 mois | |
index.js | il y a 4 mois | |
package.json | il y a 4 mois | |
shams.js | il y a 4 mois |
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