diff options
Diffstat (limited to 'school/node_modules/deep-is/example')
-rw-r--r-- | school/node_modules/deep-is/example/cmp.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/school/node_modules/deep-is/example/cmp.js b/school/node_modules/deep-is/example/cmp.js new file mode 100644 index 0000000..67014b8 --- /dev/null +++ b/school/node_modules/deep-is/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 } + ) +]); |