Skip to content

Commit 0b96de8

Browse files
committed
devleagueprep#4 js-logic
1 parent 62adbc4 commit 0b96de8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

exercises.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,15 @@ function isGreaterThan(first, second){
9191
* The function will return true if the value passed into the function is "true".
9292
* Console.log your result.
9393
*/
94-
95-
94+
console.log("4--------------------");
95+
function mustBeTrue(boo){
96+
if(boo > 11){
97+
return true;
98+
}else{
99+
return;
100+
}
101+
}
102+
console.log(mustBeTrue(1));
96103

97104
/*
98105
* #5

0 commit comments

Comments
 (0)