@xaro/extend
v1.1.0
Published
Object recursive extension helper
Downloads
2
Readme
@xaro/extend
Cut function from swiper
Usage
import extend from '@xaro/extend';
const objA = {
a: 'apple',
b: 'broccoli'
};
const objB = {
a: 'asparagus',
c: 'carrot'
};
const objC = {
b: 'beets',
c: 'cucumber'
};
const objD = extend({}, objA, objB, objC);
Value of objD is:
{
a: 'asparagus',
b: 'beets',
c: 'cucumber'
}