summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/optionator/node_modules/deep-is/example/cmp.js
blob: 67014b88dcbc9b2ebb6398bf79e8f15c628fcf51 (plain)
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 }
    )
]);