1.1.0 • Published 3 years ago

@xaro/extend v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.5

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago