Skip to content

Commit

Permalink
Merge pull request #2 from forresto/patch-1
Browse files Browse the repository at this point in the history
docs(atom): fix example
  • Loading branch information
Karsten Schmidt authored Feb 3, 2018
2 parents 96004ef + 7ae6af3 commit 1b007e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/atom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ s = setter("a.b.c");
a = { x: { y: { z: 1 } }, u: { v: 2 } };
// updated version
b = s(a, 3);
// { x: { y: { z: 1 } }, u: { v: 2 }, a: { b: { c: 2 } } }
// { x: { y: { z: 1 } }, u: { v: 2 }, a: { b: { c: 3 } } }

// verify anything under keys `x` & `u` is still identical
a.x === b.x // true
Expand Down

0 comments on commit 1b007e6

Please sign in to comment.