From 8e485989639a020987b6e96471eb821e9b0b5170 Mon Sep 17 00:00:00 2001 From: Lavrentiy Rubtsov <73550760+Rnbsov@users.noreply.github.com> Date: Mon, 28 Feb 2022 06:16:42 +0600 Subject: [PATCH] added a possibly missing exclamation mark In the previous article, in a similar example, he was --- 1-js/02-first-steps/17-arrow-functions-basics/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/17-arrow-functions-basics/article.md b/1-js/02-first-steps/17-arrow-functions-basics/article.md index c28b56c5..426bee63 100644 --- a/1-js/02-first-steps/17-arrow-functions-basics/article.md +++ b/1-js/02-first-steps/17-arrow-functions-basics/article.md @@ -64,7 +64,7 @@ For instance, to dynamically create a function: let age = prompt("What is your age?", 18); let welcome = (age < 18) ? - () => alert('Hello') : + () => alert('Hello!') : () => alert("Greetings!"); welcome();