Noelle 9399a942b5 first commit | pirms 5 gadiem | |
---|---|---|
.. | ||
HISTORY.md | pirms 5 gadiem | |
LICENSE | pirms 5 gadiem | |
README.md | pirms 5 gadiem | |
index.js | pirms 5 gadiem | |
package.json | pirms 5 gadiem |
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.