Skip to content

Commit

Permalink
code for devleagueprep#4
Browse files Browse the repository at this point in the history
  • Loading branch information
Kailiwai committed Jun 10, 2018
1 parent 334bcf5 commit 84d62d3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@ console.log(isGreaterThan(3, 2));
* The function will return true if the value passed into the function is "true".
* Console.log your result.
*/

function mustBeTrue(boo) {
if (boo = "true") {
return "true"
}
}
console.log(mustBeTrue("true"));


/*
Expand Down

0 comments on commit 84d62d3

Please sign in to comment.