/array-equal

check if two arrays are equal

Primary LanguageJavaScriptMIT LicenseMIT

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