Skip to content

Commit 835168b

Browse files
committed
Iteration ironhack-labs#1 Done
1 parent 4cb03c7 commit 835168b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/functions-and-arrays.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// Iteration #1: Find the maximum
2-
function maxOfTwoNumbers() {}
2+
function maxOfTwoNumbers(a,b) {
3+
if (a<b){
4+
return b;
5+
} else return a;
6+
}
37

48

59

0 commit comments

Comments
 (0)