From 01b3ce6665d9bb6f655f965ebe5f8687c276d1d7 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Thu, 16 Jan 2020 18:29:01 +0100 Subject: [PATCH] minor fixes --- 1-js/02-first-steps/14-function-basics/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/14-function-basics/article.md b/1-js/02-first-steps/14-function-basics/article.md index 98764337..cbc3cc1e 100644 --- a/1-js/02-first-steps/14-function-basics/article.md +++ b/1-js/02-first-steps/14-function-basics/article.md @@ -277,7 +277,7 @@ function checkAge(age) { } } -let ageCheck = prompt('How old are you?', 18); +let age = prompt('How old are you?', 18); if ( checkAge(age) ) { alert( 'Access granted' );