From 959dc23a9b6731693cae1a780ac01ba0f7f35a18 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Tue, 20 Oct 2020 11:11:07 +0300 Subject: [PATCH] Update article.md --- 1-js/04-object-basics/07-optional-chaining/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/04-object-basics/07-optional-chaining/article.md b/1-js/04-object-basics/07-optional-chaining/article.md index 93e801eb..8d473438 100644 --- a/1-js/04-object-basics/07-optional-chaining/article.md +++ b/1-js/04-object-basics/07-optional-chaining/article.md @@ -13,7 +13,7 @@ As an example, let's say we have `user` objects that hold the information about Most of our users have addresses in `user.address` property, with the street `user.address.street`, but some did not provide them. -In such case, when we attempt to get `user.address.street` of a user, and there's no address, then we get an error: +In such case, when we attempt to get `user.address.street`, and the user happens to be without an address, we get an error: ```js run let user = {}; // a user without "address" property