Buckets:
215 MB
4,079 files
Updated 2 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| HISTORY.md | 363 Bytes xet | 1f7dac5c | |
| LICENSE | 1.17 kB xet | abd22d36 | |
| README.md | 1.31 kB xet | 2d538611 | |
| index.js | 1.22 kB xet | a173154c | |
| package.json | 1.03 kB xet | 10f6274d |
merge-descriptors
Merge objects using descriptors.
var thing = {
get name() {
return 'jon'
}
}
var animal = {
}
merge(animal, thing)
animal.name === 'jon'
API
merge(destination, source)
Redefines destination's descriptors with source's. The return value is the
destination object.
merge(destination, source, false)
Defines source's descriptors on destination if destination does not have
a descriptor by the same name. The return value is the destination object.
License
- Total size
- 215 MB
- Files
- 4,079
- Last updated
- Aug 7
- Pre-warmed CDN
- US EU US EU