Muqriz 48f16bfc3e initail first | пре 4 месеци | |
---|---|---|
.. | ||
.github | пре 4 месеци | |
test | пре 4 месеци | |
.eslintrc | пре 4 месеци | |
.nycrc | пре 4 месеци | |
CHANGELOG.md | пре 4 месеци | |
LICENSE | пре 4 месеци | |
README.md | пре 4 месеци | |
index.js | пре 4 месеци | |
package.json | пре 4 месеци | |
shams.js | пре 4 месеци |
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