Skip to content

Commit

Permalink
completed devleagueprep#1
Browse files Browse the repository at this point in the history
  • Loading branch information
kinwail committed Jun 11, 2018
1 parent 8913c72 commit 701b4d8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,17 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true
*/


console.log('test');
console.log('another test');
//console.log('test');
//console.log('another test');

function canVote(age){
if(age>=18){
return true
}else{
return false
}
}
console.log(canVote(43))

/*
* #2
Expand Down

0 comments on commit 701b4d8

Please sign in to comment.