1.0.2 • Published 2 years ago

distinct-array-function v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

To Install

`npm install distinct-array-function`

Basic Usage

create node project using npm init -y install this package using npm install distinct-array-function in terminal create index.js file in the folder project run node index.js in your curent project

Example

const removeArrayDuplicate = require('distinct-array-function')

let myNums = [1,2,3,1,4,1,2,5,3,4]

let uniqueNums = removeArrayDuplicate(myNums)
console.log(uniqueNums)

Screenshot Result Result