InternetProgramming/Lab3/node_modules/deep-is/example/cmp.js

12 lines
207 B
JavaScript
Raw Normal View History

2023-12-15 14:42:22 +04:00
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 }
)
]);