$ npm install 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
© 2010 - cnpmjs.org x YWFE | Home | YWFE