1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/has-symbols
詹力 1a19ec897f 删除无关模块 2024-01-16 21:26:16 +08:00
..
test 完善文档,完善若干细节 2023-12-28 23:41:32 +08:00
.eslintrc 完善文档,完善若干细节 2023-12-28 23:41:32 +08:00
CHANGELOG.md 完善文档,完善若干细节 2023-12-28 23:41:32 +08:00
LICENSE i4 2023-12-18 13:12:25 +08:00
README.md 完善文档,完善若干细节 2023-12-28 23:41:32 +08:00
index.js 完善文档,完善若干细节 2023-12-28 23:41:32 +08:00
package.json 删除无关模块 2024-01-16 21:26:16 +08:00
shams.js 完善文档,完善若干细节 2023-12-28 23:41:32 +08:00

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