2.0.0 • Published 3 years ago

@drtok/array-merge v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Merge two arrays

import arrayMerge from "@drtok/array-merge";

const arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

const arr2 = arr.filter((item) => item % 2 === 0);

const result = arrayMerge(arr, arr2);

console.log(result);
2.0.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago