From 31b8374347df65c19e59e27df8de928f4096a4da Mon Sep 17 00:00:00 2001 From: BRIAN AND DONNA WONG Date: Mon, 11 Jun 2018 13:48:40 -1000 Subject: [PATCH] Exercise #4 complete --- exercises.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/exercises.js b/exercises.js index b7fff46..80cd26e 100644 --- a/exercises.js +++ b/exercises.js @@ -95,6 +95,14 @@ console.log(isGreaterThan(3, 1)); * Console.log your result. */ +function mustBeTrue(boo) { + if(boo === true){ + return true; + }else{ + return false; + } +} +console.log("mustBeTrue: ", mustBeTrue(true)); /*