aboutsummaryrefslogtreecommitdiff
path: root/node_modules/deep-equal/example/cmp.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/deep-equal/example/cmp.js')
-rw-r--r--node_modules/deep-equal/example/cmp.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/node_modules/deep-equal/example/cmp.js b/node_modules/deep-equal/example/cmp.js
new file mode 100644
index 000000000..67014b88d
--- /dev/null
+++ b/node_modules/deep-equal/example/cmp.js
@@ -0,0 +1,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 }
+ )
+]);