minor fixes

This commit is contained in:
Ilya Kantor 2020-01-16 18:29:01 +01:00
parent 00d10515e5
commit 01b3ce6665

View file

@ -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' );