1.1.0 • Published 2 years ago

@xaro/extend v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

@xaro/extend

Cut function from swiper

original source

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'
}

License

MIT

1.1.0

2 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago