1.0.3 • Published 7 years ago
mergefn v1.0.3
This is module which can merge two arrays in one array.
Install.
You can install it from npm repository using next comand:
npm install mergefn --save
This is example how to use this module.
var merge = require('mergefn');
var first = [1, 7, 3, 8];
var second = [2, 12, 25, 34];
var result = merge(first, second);
console.log(result);
// [1, 2, 3, 7, 8, 12, 25, 34];