Muqriz 48f16bfc3e initail first | vor 4 Monaten | |
---|---|---|
.. | ||
.github | vor 4 Monaten | |
test | vor 4 Monaten | |
.eslintrc | vor 4 Monaten | |
.nycrc | vor 4 Monaten | |
CHANGELOG.md | vor 4 Monaten | |
LICENSE | vor 4 Monaten | |
README.md | vor 4 Monaten | |
index.js | vor 4 Monaten | |
package.json | vor 4 Monaten | |
shams.js | vor 4 Monaten |
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