Skip to content

Commit

Permalink
Merge pull request javascript-tutorial#1582 from Rnbsov/patch-48
Browse files Browse the repository at this point in the history
add exclamation mark
  • Loading branch information
iliakan committed Apr 14, 2022
2 parents a3a8186 + 4465ae6 commit a5b3afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1-js/02-first-steps/17-arrow-functions-basics/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ alert( sum(1, 2) ); // 3
let age = prompt("Сколько Вам лет?", 18);
let welcome = (age < 18) ?
() => alert('Привет') :
() => alert('Привет!') :
() => alert("Здравствуйте!");
welcome();
Expand Down

0 comments on commit a5b3afa

Please sign in to comment.