Skip to content

Commit 31b8374

Browse files
committed
Exercise devleagueprep#4 complete
1 parent d2622b9 commit 31b8374

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

exercises.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ console.log(isGreaterThan(3, 1));
9595
* Console.log your result.
9696
*/
9797

98+
function mustBeTrue(boo) {
99+
if(boo === true){
100+
return true;
101+
}else{
102+
return false;
103+
}
104+
}
105+
console.log("mustBeTrue: ", mustBeTrue(true));
98106

99107

100108
/*

0 commit comments

Comments
 (0)