lzy 15a1cad3dc first commit | vor 1 Woche | |
---|---|---|
.. | ||
HISTORY.md | vor 1 Woche | |
LICENSE | vor 1 Woche | |
README.md | vor 1 Woche | |
index.js | vor 1 Woche | |
package.json | vor 1 Woche |
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.