From 9705a09ca7579158c05ad1075d9f1b625f48322f Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Thu, 24 Sep 2020 14:20:26 +0300 Subject: [PATCH] minor fixes --- 1-js/02-first-steps/12-nullish-coalescing-operator/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/12-nullish-coalescing-operator/article.md b/1-js/02-first-steps/12-nullish-coalescing-operator/article.md index 434edb87..6be872e1 100644 --- a/1-js/02-first-steps/12-nullish-coalescing-operator/article.md +++ b/1-js/02-first-steps/12-nullish-coalescing-operator/article.md @@ -41,7 +41,7 @@ alert(user ?? "Anonymous"); // John We can also use a sequence of `??` to select the first defined value from a list. -Let's say we a user's data in variables `firstName`, `lastName` or `nickName`. All of them may be undefined, if the user decided not to enter a value. +Let's say we have a user's data in variables `firstName`, `lastName` or `nickName`. All of them may be undefined, if the user decided not to enter a value. We'd like to display the user name using one of these variables, or show "Anonymous" if all of them are undefined.