Skip to content

Commit f70fbc6

Browse files
Djavan CackleyDjavan Cackley
authored andcommitted
completed devleagueprep#4
1 parent be4c2d7 commit f70fbc6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

exercises.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@ console.log(isGreaterThan(3, 1));
9090
* Console.log your result.
9191
*/
9292

93+
function mustBeTrue(boo){
94+
if (boo === true){
95+
return true;
96+
}else{
97+
return false;
98+
}
99+
}
100+
101+
console.log("mustBeTrue: ", mustBeTrue(true))
93102

94103

95104
/*

0 commit comments

Comments
 (0)