Emmanuel b7eccee437 Navbar | 5 lat temu | |
---|---|---|
.. | ||
test | 5 lat temu | |
.eslintrc | 5 lat temu | |
.npmignore | 5 lat temu | |
.travis.yml | 5 lat temu | |
CHANGELOG.md | 5 lat temu | |
LICENSE | 5 lat temu | |
README.md | 5 lat temu | |
index.js | 5 lat temu | |
package.json | 5 lat temu | |
shams.js | 5 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