install-nix-action/node_modules/deep-is/example/cmp.js
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00

12 lines
207 B
JavaScript

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 }
)
]);