make 8c49b2f0f2 first commit | 3 months ago | |
---|---|---|
.. | ||
HISTORY.md | 3 months ago | |
LICENSE | 3 months ago | |
README.md | 3 months ago | |
index.js | 3 months ago | |
package.json | 3 months ago |
Merge objects using descriptors.
var thing = {
get name() {
return 'jon'
}
}
var animal = {
}
merge(animal, thing)
animal.name === 'jon'
Redefines destination
's descriptors with source
's.
Defines source
's descriptors on destination
if destination
does not have
a descriptor by the same name.