Skip to content

Commit 5fadb08

Browse files
committed
completed devleagueprep#3
1 parent b602bc2 commit 5fadb08

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

exercises.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,14 @@ console.log(login("dasf"))
7575
* Console.log your result.
7676
*/
7777

78-
79-
78+
function isGreaterThan(first,second){
79+
if(first > second){
80+
return true
81+
}else{
82+
return false
83+
}
84+
}
85+
console.log(isGreaterThan(3,2));
8086
/*
8187
* #4
8288
* Function - mustBeTrue

0 commit comments

Comments
 (0)