Skip to content

Commit 63dc1e1

Browse files
Jess ManapulJess Manapul
authored andcommitted
completed devleagueprep#3
1 parent 9985495 commit 63dc1e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

exercises.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,13 @@ console.log(login('1234test'));
7474
* Console.log your result.
7575
*/
7676

77+
function isGreaterThan(first, second) {
78+
if (first > second) return true;
79+
else return false;
80+
}
7781

82+
console.log(isGreaterThan(4, 3));
83+
console.log(isGreaterThan(3, 4));
7884

7985
/*
8086
* #4

0 commit comments

Comments
 (0)