From b96642dd205a06071bace4c43bebf93dcfc7a62d Mon Sep 17 00:00:00 2001 From: Shreenanda <54429809+shreenanda-8@users.noreply.github.com> Date: Mon, 15 Mar 2021 06:48:10 +0530 Subject: [PATCH] Add semicolon --- .../17-arrow-functions-basics/1-rewrite-arrow/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/17-arrow-functions-basics/1-rewrite-arrow/task.md b/1-js/02-first-steps/17-arrow-functions-basics/1-rewrite-arrow/task.md index 2f44db27..e18c08a8 100644 --- a/1-js/02-first-steps/17-arrow-functions-basics/1-rewrite-arrow/task.md +++ b/1-js/02-first-steps/17-arrow-functions-basics/1-rewrite-arrow/task.md @@ -5,7 +5,7 @@ Replace Function Expressions with arrow functions in the code below: ```js run function ask(question, yes, no) { - if (confirm(question)) yes() + if (confirm(question)) yes(); else no(); }