@asdfgertyjhnpm/reiciendis-neque-reprehenderit
v1.0.0
Published
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Downloads
4
Maintainers
Keywords
Readme
@asdfgertyjhnpm/reiciendis-neque-reprehenderit
Determine if the JS environment has Symbol support. Supports spec, or shams.
Example
var hasSymbols = require('@asdfgertyjhnpm/reiciendis-neque-reprehenderit');
hasSymbols() === true; // if the environment has native Symbol support. Not polyfillable, not forgeable.
var hasSymbolsKinda = require('@asdfgertyjhnpm/reiciendis-neque-reprehenderit/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