Skip to content

Commit deabb3d

Browse files
author
Phillip Clark
committed
verified fix for issue #35
1 parent cace82f commit deabb3d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

examples/issue-35.js

+11
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)