Dirk Alders 97486731b5 Dashboard 2 - EG-West | 4 maanden geleden | |
---|---|---|
.. | ||
HISTORY.md | 4 maanden geleden | |
LICENSE | 4 maanden geleden | |
README.md | 4 maanden geleden | |
index.js | 4 maanden geleden | |
package.json | 4 maanden geleden |
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.