Completed exercise 02
This commit is contained in:
parent
915926a65a
commit
9e9a4b1ff2
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue