caoge c760052ff9 机车状态修改 | hace 8 meses | |
---|---|---|
.. | ||
HISTORY.md | hace 8 meses | |
LICENSE | hace 8 meses | |
README.md | hace 8 meses | |
index.js | hace 8 meses | |
package.json | hace 8 meses |
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.