Update article.md

This commit is contained in:
Ilya Kantor 2020-10-20 11:17:09 +03:00 committed by GitHub
parent 44a17a32ca
commit d4120a0ae5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ Once again, if the element doesn't exist, we'll get an error accessing `.innerHT
How can we do this?
The obvious solution would be to check the value using `if` or the conditional operator `?`, before accessing it, like this:
The obvious solution would be to check the value using `if` or the conditional operator `?`, before accessing its property, like this:
```js
let user = {};