Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon authored and Jon committed Apr 9, 2019
1 parent ccbfd94 commit 6e4a35f
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ function login(password){

console.log("2. password " + login('test1234'));



/*
* #3
* Function - isGreaterThan
Expand All @@ -76,6 +74,14 @@ console.log("2. password " + login('test1234'));
* Console.log your result.
*/

function isGreaterThan(first, second){
if(first > second){
return true;
}else{
return false;
}
}
console.log("3. isGreaterThan " + isGreaterThan(6, 5));


/*
Expand All @@ -90,6 +96,16 @@ console.log("2. password " + login('test1234'));
* Console.log your result.
*/

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




/*
Expand Down

0 comments on commit 6e4a35f

Please sign in to comment.