Bolshakova Anna ab21a11190 lab | vor 2 Wochen | |
---|---|---|
.. | ||
.github | vor 2 Wochen | |
test | vor 2 Wochen | |
.eslintrc | vor 2 Wochen | |
.nycrc | vor 2 Wochen | |
CHANGELOG.md | vor 2 Wochen | |
LICENSE | vor 2 Wochen | |
README.md | vor 2 Wochen | |
index.js | vor 2 Wochen | |
package.json | vor 2 Wochen | |
shams.js | vor 2 Wochen |
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