LAPTOP-UBJMM5MG\user d7428fd373 更新 пре 1 година
..
.github d7428fd373 更新 пре 1 година
test d7428fd373 更新 пре 1 година
.eslintrc d7428fd373 更新 пре 1 година
.nycrc d7428fd373 更新 пре 1 година
CHANGELOG.md d7428fd373 更新 пре 1 година
LICENSE d7428fd373 更新 пре 1 година
README.md d7428fd373 更新 пре 1 година
index.js d7428fd373 更新 пре 1 година
package.json d7428fd373 更新 пре 1 година
shams.js d7428fd373 更新 пре 1 година

README.md

has-symbols Version Badge

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