prc b6c02717e6 Upload complete no-internet building environment. | пре 1 година | |
---|---|---|
.. | ||
.github | пре 1 година | |
test | пре 1 година | |
.eslintrc | пре 1 година | |
.nycrc | пре 1 година | |
CHANGELOG.md | пре 1 година | |
LICENSE | пре 1 година | |
README.md | пре 1 година | |
index.js | пре 1 година | |
package.json | пре 1 година | |
shams.js | пре 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