刘琳琳 97c35fdf0d 航汇HHArome小程序容器演示 | пре 2 месеци | |
---|---|---|
.. | ||
test | пре 2 месеци | |
.eslintrc | пре 2 месеци | |
.nycrc | пре 2 месеци | |
CHANGELOG.md | пре 2 месеци | |
LICENSE | пре 2 месеци | |
README.md | пре 2 месеци | |
index.js | пре 2 месеци | |
package.json | пре 2 месеци | |
shams.js | пре 2 месеци |
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