Bakhtina Sofya b84cb877be 1st comm | 3 週間 前 | |
---|---|---|
.. | ||
.github | 3 週間 前 | |
test | 3 週間 前 | |
.eslintrc | 3 週間 前 | |
.nycrc | 3 週間 前 | |
CHANGELOG.md | 3 週間 前 | |
LICENSE | 3 週間 前 | |
README.md | 3 週間 前 | |
index.js | 3 週間 前 | |
package.json | 3 週間 前 | |
shams.js | 3 週間 前 |
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