Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fatso83 authored Oct 5, 2023
1 parent 86dc584 commit 3a8eaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/release-source/release/sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ console.log(myObject.myMethod());
// strawberry
```

#### `sandbox.replace.usingAccessor(obj, property, value);`
#### `sandbox.replace.usingAccessor(object, property, value);`

Usually one intends to _replace_ the value or getter of a field, but there are use cases where one actually wants to _assign_ a value to a property using an existing setter. `#replace.usingAccessor(object, property, value)` will do just that; pass the value into setter function and vice-versa use the getter to get the value used for restoring later on.

Expand Down

0 comments on commit 3a8eaf8

Please sign in to comment.