Emmanuel b7eccee437 Navbar | 5 anos atrás | |
---|---|---|
.. | ||
test | 5 anos atrás | |
.eslintrc | 5 anos atrás | |
.npmignore | 5 anos atrás | |
.travis.yml | 5 anos atrás | |
CHANGELOG.md | 5 anos atrás | |
LICENSE | 5 anos atrás | |
README.md | 5 anos atrás | |
index.js | 5 anos atrás | |
package.json | 5 anos atrás | |
shams.js | 5 anos atrás |
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