well-known-symbols
An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.
MIT
5 个版本
javascript
ecmascript
polyfill
shim
well-known
symbol
Symbol.asyncIterator
asyncIterator
Symbol.hasInstance
hasInstance
Symbol.isConcatSpreadable
isConcatSpreadable
Symbol.iterator
iterator
Symbol.match
match
Symbol.matchAll
matchAll
Symbol.replace
replace
Symbol.search
search
Symbol.species
species
Symbol.split
split
Symbol.toPrimitive
toPrimitive
Symbol.toStringTag
toStringTag
Symbol.unscopables
unscopables
安装
npm install well-known-symbols
yarn add well-known-symbols
pnpm add well-known-symbols
bun add well-known-symbols
