duplicates-array-element
v1.0.2
Published
This function is used to return the list of dublicate array
Downloads
1
Readme
Duplicates Array Element
This package is used to extract the list of dublicate element from an array.
Installation
Use the package manager [npm(https://www.npmjs.com/package/find-array-duplicates) to install this package.
npm install find-array-duplicates
Usage
Return dublicate
returns 'words'
const arrDub = require('find-array-duplicates') const result = arrDub([1,1,2,3,4,4]) console.log(result)// [1,4]