node/deps/npm/node_modules/has-symbols
claudiahdz a7c7c703af
deps: upgrade npm to 6.13.1
PR-URL: https://github.com/nodejs/node/pull/30533
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2019-11-20 19:16:47 -05:00
..
test deps: upgrade npm to 6.13.1 2019-11-20 19:16:47 -05:00
.npmignore deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
.travis.yml deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
CHANGELOG.md deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
LICENSE deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
README.md deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
index.js deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
package.json deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
shams.js deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00

README.md

has-symbols Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

Determine if the JS environment has Symbol support. Supports spec, or shams.

Example

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.

Supported Symbol shams

Tests

Simply clone the repo, npm install, and run npm test