diff --git a/exercises.js b/exercises.js index 1adb6f3..14b8192 100644 --- a/exercises.js +++ b/exercises.js @@ -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