1.0.2 • Published 1 year ago
array-equal v1.0.2
Array Equal
Check if two arrays are equal:
var equals = require('array-equal')
assert(equals([1, 2, 3], [1, 2, 3])) // => true
assert(equals([1, 2, 3], [1, 2, 3, 4])) // => false
Check if two arrays are equal:
var equals = require('array-equal')
assert(equals([1, 2, 3], [1, 2, 3])) // => true
assert(equals([1, 2, 3], [1, 2, 3, 4])) // => false