Update article.md

This commit is contained in:
LeviDing 2020-11-15 19:42:42 +08:00 committed by GitHub
parent ee2bc1c6bd
commit 7a67741a9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ The optional chaining `?.` is a safe way to access nested object properties, eve
If you've just started to read the tutorial and learn JavaScript, maybe the problem hasn't touched you yet, but it's quite common.
As an example, let's say we have `user` objects that hold the information about our users.
As an example, let's say we have `user` objects that hold the information about our users.
Most of our users have addresses in `user.address` property, with the street `user.address.street`, but some did not provide them.