@drtok/array-merge
v2.0.0
Published
``` import arrayMerge from "@drtok/array-merge";
Downloads
5
Readme
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);