mergesorted

returns the interception of two ordered arrays

mergesorted

Returns the interception of two ordered arrays

var mergesorted = require('mergesorted');
 
console.log(mergesorted([2, 3, 4], [1, 2, 3]))
// 
// [2,3] 
//