Pengusir-Hama-Burung-Otomatis/tugas akhir/node_modules/has-symbols
Chika 83a64f6844 Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
..
.github Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
test Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
.eslintrc Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
.nycrc Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
CHANGELOG.md Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
LICENSE Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
README.md Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
index.d.ts Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
index.js Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
package.json Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
shams.d.ts Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
shams.js Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07:00
tsconfig.json Upload source code lengkap TA: Flutter, Arduino, dan Python 2026-08-05 15:26:06 +07: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