securityos/node_modules/deep-equal/example/cmp.js

14 lines
182 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
'use strict';
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 }
)
]);