Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check identical array javascript

// if not nested arrays

function checkEquals(arr1, arr2) {
	return arr1.every( el => arr2.includes(el) );
};
 
PREVIOUS NEXT
Tagged: #check #identical #array #javascript
ADD COMMENT
Topic
Name
5+4 =