Skip to content

Commit d4120a0

Browse files
authored
Update article.md
1 parent 44a17a3 commit d4120a0

File tree

1 file changed

+1
-1
lines changed
  • 1-js/04-object-basics/07-optional-chaining

1 file changed

+1
-1
lines changed

1-js/04-object-basics/07-optional-chaining/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Once again, if the element doesn't exist, we'll get an error accessing `.innerHT
3636

3737
How can we do this?
3838

39-
The obvious solution would be to check the value using `if` or the conditional operator `?`, before accessing it, like this:
39+
The obvious solution would be to check the value using `if` or the conditional operator `?`, before accessing its property, like this:
4040

4141
```js
4242
let user = {};

0 commit comments

Comments
 (0)