Erik Römmelt 538894d4a6 Add server; add node_modules; add public folder; add package.json | 6 years ago | |
---|---|---|
.. | ||
HISTORY.md | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 years 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.