- Cheats sheet (or table) of Array methods and typed arrays support
- All property descriptor variations and its impact to handle property
Set | WeakSet | Map | WeakMap | |
---|---|---|---|---|
add | ✓ | ✓ | set | set |
has | ✓ | ✓ | ✓ | ✓ |
delete | ✓ | ✓ | ✓ | ✓ |
size | ✓ | ✓ | ||
get | ✓ | ✓ | ||
keys | ✓ | ✓ | ||
values | ✓ | ✓ | ||
entries | ✓ | ✓ | ||
clear | ✓ | ✓ | ||
forEach | ✓ | ✓ |
union | intersection | ||
difference | symmetricDifference | ||
isSubsetOf | isSupersetOf | ||
isDisjointFrom |