Skip to content

Commit 603170b

Browse files
authored
Merge pull request #2899 from Rnbsov/patch-8
added a possibly missing exclamation mark
2 parents 98b840e + 8e48598 commit 603170b

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/17-arrow-functions-basics

1 file changed

+1
-1
lines changed

1-js/02-first-steps/17-arrow-functions-basics/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ For instance, to dynamically create a function:
6464
let age = prompt("What is your age?", 18);
6565
6666
let welcome = (age < 18) ?
67-
() => alert('Hello') :
67+
() => alert('Hello!') :
6868
() => alert("Greetings!");
6969
7070
welcome();

0 commit comments

Comments
 (0)