Skip to content

Commit 5eb06c1

Browse files
committed
Update set too
1 parent ba45af2 commit 5eb06c1

File tree

2 files changed

+2
-2
lines changed
  • files/en-us/web/javascript/reference/global_objects/reflect

2 files changed

+2
-2
lines changed

files/en-us/web/javascript/reference/global_objects/reflect/get/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Reflect.get(target, propertyKey, receiver)
4040
- `propertyKey`
4141
- : The name of the property to get.
4242
- `receiver` {{optional_inline}}
43-
- : The value of `this` provided for the call to `target` if a getter is encountered. Defaults to `target` when this value is not provided.
43+
- : The value of `this` provided for the call to `target` if a getter is encountered. Defaults to `target`.
4444

4545
### Return value
4646

files/en-us/web/javascript/reference/global_objects/reflect/set/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Reflect.set(target, propertyKey, value, receiver)
4141
- `value`
4242
- : The value to set.
4343
- `receiver` {{optional_inline}}
44-
- : The value of `this` provided for the call to the setter for `propertyKey` on `target`. If provided and `target` does not have a setter for `propertyKey`, the property will be set on `receiver` instead.
44+
- : The value of `this` provided for the call to the setter for `propertyKey` on `target`. If provided and `target` does not have a setter for `propertyKey`, the property will be set on `receiver` instead. Defaults to `target`.
4545

4646
### Return value
4747

0 commit comments

Comments
 (0)