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 1ed84b9 commit ccbfd94
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ console.log("1. canVote " + canVote(18));
* Console.log your result.
*/

function login(password){
if(password === 'test1234'){
return 'Login Success!';
}else{
return 'Login Failed!'
}
}

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



/*
Expand Down

0 comments on commit ccbfd94

Please sign in to comment.