|
@@ -5,13 +5,13 @@ function isEven(x) {
|
|
|
5
|
-
let x
|
|
5
|
+
let x;
|
|
6
6
|
x = num % 2;
|
|
7
7
|
if (false) {
|
|
8
8
|
console.log("Number is false");
|
|
9
|
-
} else if (
|
|
9
|
+
} else if (x) {
|
|
10
10
|
console.log(`Number: ${x}`);
|
|
11
|
-
} else if (
|
|
11
|
+
} else if (x == 2) {
|
|
12
12
|
}
|