Skip to content

Commit 2630540

Browse files
committed
oops
1 parent a6e71be commit 2630540

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/functions-and-arrays.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
// Iteration #1: Find the maximum
2-
function maxOfTwoNumbers(num1, num2) {
3-
if (num2 > num1) {
4-
return num2
5-
} else {
6-
return num1
7-
}
8-
}
2+
93

104
// Iteration #2: Find longest word
115
const words = ['mystery', 'brother', 'aviator', 'crocodile', 'pearl', 'orchard', 'crackpot'];

0 commit comments

Comments
 (0)