Skip to content

Commit

Permalink
Meta tweak (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richienb authored Jun 24, 2022
1 parent 84c3233 commit 1794b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ setProperty(object, 'foo.baz', 'x');
console.log(object);
//=> {foo: {bar: 'b', baz: 'x'}}

setProperty(object, 'foo.biz.0', 'a');
setProperty(object, 'foo.biz[0]', 'a');
console.log(object);
//=> {foo: {bar: 'b', baz: 'x', biz: ['a']}}

Expand Down

0 comments on commit 1794b86

Please sign in to comment.