Emmanuel b7eccee437 Navbar | il y a 5 ans | |
---|---|---|
.. | ||
test | il y a 5 ans | |
.eslintrc | il y a 5 ans | |
.npmignore | il y a 5 ans | |
.travis.yml | il y a 5 ans | |
CHANGELOG.md | il y a 5 ans | |
LICENSE | il y a 5 ans | |
README.md | il y a 5 ans | |
index.js | il y a 5 ans | |
package.json | il y a 5 ans | |
shams.js | il y a 5 ans |
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