Skip to content

Perfect solution for compare two arrays in java script.

Notifications You must be signed in to change notification settings

akhilhhh94/compare-arrays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compare-arrays

Compare arrays in javascript is not an easy job because === will not work as expected. So this package is perfect solution for Compare two arrays.

How it works

In the project directory, you can run:

npm install compare-arrays --save

import compare from 'compare-arrays'; // const compare = require('compare-arrays').default; for old js
compare([],[]) // return true or false

Typescript implementation will coming soon..

Thank you