Completed exercise 02

This commit is contained in:
NetMan 2023-12-30 15:15:45 +01:00
parent 915926a65a
commit 9e9a4b1ff2
1 changed files with 2 additions and 2 deletions

View File

@ -8,9 +8,9 @@
number = Number(prompt("enter a number"));
function numberChecker() {
if(number === 6) {
if(number >= 10) {
return true;
} else {
} else if (number < 10) {
return false;
}
}