Irina Glushko 2389e7160b HW1 done | 3 lat temu | |
---|---|---|
.. | ||
.github | 3 lat temu | |
test | 3 lat temu | |
.eslintignore | 3 lat temu | |
.eslintrc | 3 lat temu | |
.nycrc | 3 lat temu | |
CHANGELOG.md | 3 lat temu | |
LICENSE | 3 lat temu | |
README.md | 3 lat temu | |
index.js | 3 lat temu | |
package.json | 3 lat temu | |
shams.js | 3 lat temu |
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