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
Last updated 2 years ago