No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
unknown fe79185e87 ali aslani hace 1 año
..
.github ali aslani hace 1 año
test ali aslani hace 1 año
.eslintrc ali aslani hace 1 año
.nycrc ali aslani hace 1 año
CHANGELOG.md ali aslani hace 1 año
LICENSE ali aslani hace 1 año
README.md ali aslani hace 1 año
index.js ali aslani hace 1 año
package.json ali aslani hace 1 año
shams.js ali aslani hace 1 año

README.md

has-symbols Version Badge

github actions coverage 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