Snow 1d0b9c5323 增加了node环境 | пре 1 месец | |
---|---|---|
.. | ||
.github | пре 1 месец | |
test | пре 1 месец | |
.eslintrc | пре 1 месец | |
.nycrc | пре 1 месец | |
CHANGELOG.md | пре 1 месец | |
LICENSE | пре 1 месец | |
README.md | пре 1 месец | |
index.d.ts | пре 1 месец | |
index.js | пре 1 месец | |
package.json | пре 1 месец | |
shams.d.ts | пре 1 месец | |
shams.js | пре 1 месец | |
tsconfig.json | пре 1 месец |
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