Skip to content

Commit 0219a58

Browse files
author
Phillip Clark
committed
illustrates #62 may be obsolete
1 parent af99304 commit 0219a58

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

examples/issue-62.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
var deep = require("../");
2+
3+
var a = {};
4+
var b = {};
5+
a.x = b;
6+
b.x = b;
7+
deep.diff(a, b); // True
8+
9+
a.x = a; // Change to a
10+
// No change to b
11+
console.log(deep.diff(a, b)); // Still true...

0 commit comments

Comments
 (0)