Skip to content

Commit

Permalink
Update exercises.js
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlhlee authored Feb 7, 2017
1 parent d74b2d2 commit 50b8b06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ If statements - Evaluates (or checks) a condition. If the condition is true, any
var today = new Date();

if(today === "Friday"){
console.log("Let's Party!");
return "Let's Party!";
};

/*
If/else statements = Evaluates (or checks) a condition. If the condition is true, the first code block is executed. If the condition is false, the second code block is executed instead.
*/

if(today === "Friday"){
console.log("Let's Party!");
return "Let's Party!";
}else{
console.log("Get back to coding!");
return "Get back to coding!";
};


Expand Down

0 comments on commit 50b8b06

Please sign in to comment.