GoScrobble/web/node_modules/deep-equal/example/cmp.js

12 lines
167 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00: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 }
)
]);