From 0b96de811a1bacc420e3ba330d2ed7de09291f53 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 9 Jun 2018 15:53:17 -1000 Subject: [PATCH] #4 js-logic --- exercises.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/exercises.js b/exercises.js index 08770e4..ac67184 100644 --- a/exercises.js +++ b/exercises.js @@ -91,8 +91,15 @@ function isGreaterThan(first, second){ * The function will return true if the value passed into the function is "true". * Console.log your result. */ - - +console.log("4--------------------"); +function mustBeTrue(boo){ + if(boo > 11){ + return true; + }else{ + return; + } +} +console.log(mustBeTrue(1)); /* * #5