Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit 3 anni fa
..
.github First Commit 3 anni fa
test First Commit 3 anni fa
.eslintrc First Commit 3 anni fa
.travis.yml First Commit 3 anni fa
CHANGELOG.md First Commit 3 anni fa
LICENSE First Commit 3 anni fa
README.md First Commit 3 anni fa
index.js First Commit 3 anni fa
package.json First Commit 3 anni fa
shams.js First Commit 3 anni fa

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