Blame view

node_modules/deep-is/example/cmp.js 207 Bytes
f7563de62   Palak Handa   first commit
1
2
3
4
5
6
7
8
9
10
11
  var equal = require('../');
  console.dir([
      equal(
          { a : [ 2, 3 ], b : [ 4 ] },
          { a : [ 2, 3 ], b : [ 4 ] }
      ),
      equal(
          { x : 5, y : [6] },
          { x : 5, y : 6 }
      )
  ]);