Skip to content

Commit 356e9cb

Browse files
committed
devleagueprep#3 complete
1 parent fdd8698 commit 356e9cb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

exercises.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,14 @@ console.log(login('test1234'))
7272
* Console.log your result.
7373
*/
7474

75-
75+
function isGreaterThan(first, second){
76+
if(first > second){
77+
return 'true';
78+
}else{
79+
return 'incorrect';
80+
}
81+
}
82+
console.log(isGreaterThan(3, 2))
7683

7784
/*
7885
* #4

0 commit comments

Comments
 (0)