We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cace82f commit deabb3dCopy full SHA for deabb3d
examples/issue-35.js
@@ -0,0 +1,11 @@
1
+var deep = require("../");
2
+
3
+var lhs = ["a","a"];
4
+var rhs = ["a"];
5
+var differences = deep.diff(lhs, rhs);
6
+differences.forEach(function (change) {
7
+ deep.applyChange(lhs, true, change);
8
+});
9
10
+console.log(lhs);
11
+console.log(rhs);
0 commit comments