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