Skip to content

Commit d2622b9

Browse files
committed
Finished exercise devleagueprep#3
1 parent bedc5a4 commit d2622b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

exercises.js

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

77+
function isGreaterThan(first, second){
78+
if(first > second){
79+
return "first is the best (true)";
80+
}
81+
}
82+
console.log(isGreaterThan(3, 1));
83+
7784

7885

7986
/*

0 commit comments

Comments
 (0)