minor fixes
This commit is contained in:
parent
00d10515e5
commit
01b3ce6665
1 changed files with 1 additions and 1 deletions
|
@ -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' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue