Skip to content

Commit

Permalink
devleagueprep#2 complete
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarmack82 committed Apr 9, 2019
1 parent fad0ebb commit fdd8698
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ console.log(canVote(18))
* Console.log your result.
*/

function login(password){
if(password === 'test1234'){
return 'Login Success!';
}else{
return 'Incorrect Password';
}
}
console.log(login('test1234'))

/*
* #3
Expand Down

0 comments on commit fdd8698

Please sign in to comment.