Skip to content

Commit

Permalink
code for devleagueprep#2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kailiwai committed Jun 10, 2018
1 parent caa4c3a commit 256930c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ console.log(canVote(21));
* The function will return the message: "Login Success!", if the string passed into the function is "test1234"
* Console.log your result.
*/
function login(password) {
if(password === "test1234") {
return "Login Success!"
}
}
console.log(login("test1234"));


/*
Expand Down

0 comments on commit 256930c

Please sign in to comment.