Skip to content

Commit

Permalink
completed devleagueprep#4
Browse files Browse the repository at this point in the history
  • Loading branch information
Jess Manapul authored and Jess Manapul committed Feb 9, 2019
1 parent 63dc1e1 commit c645af8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,15 @@ console.log(isGreaterThan(3, 4));
* Console.log your result.
*/

function mustBeTrue(boo){
if (boo === true) return true;
else return false;
}

var truthTest = 5 > 4;
var falseTest = 5 > 5;
console.log(mustBeTrue(truthTest));
console.log(mustBeTrue(falseTest));

/*
* #5
Expand Down

0 comments on commit c645af8

Please sign in to comment.