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