root 7621d6d22a 221005-1449-Kim | 2 anos atrás | |
---|---|---|
.. | ||
.github | 2 anos atrás | |
test | 2 anos atrás | |
.eslintignore | 2 anos atrás | |
.eslintrc | 2 anos atrás | |
.nycrc | 2 anos atrás | |
CHANGELOG.md | 2 anos atrás | |
LICENSE | 2 anos atrás | |
README.md | 2 anos atrás | |
index.js | 2 anos atrás | |
package.json | 2 anos atrás | |
shams.js | 2 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