README
array-duplicate
Utility method to find duplicated items from two arrays. If you want to compute the difference between two arrays, use array-difference.
Installation
$ npm install array-duplicate
Usage
var array1 = [1, 2, 3]
var array2 = [2, 3, 4]
duplicated(array1, array2) // yeilds [2, 3]
License
Copyright (c) 2015 Fraser Xu Licensed under the MIT Expat license.