Luis f4296bcada project initialized | vor 5 Jahren | |
---|---|---|
.. | ||
test | vor 5 Jahren | |
.eslintrc | vor 5 Jahren | |
.npmignore | vor 5 Jahren | |
.travis.yml | vor 5 Jahren | |
CHANGELOG.md | vor 5 Jahren | |
LICENSE | vor 5 Jahren | |
README.md | vor 5 Jahren | |
index.js | vor 5 Jahren | |
package.json | vor 5 Jahren | |
shams.js | vor 5 Jahren |
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