Skip to content

Commit

Permalink
completed devleagueprep#2
Browse files Browse the repository at this point in the history
  • Loading branch information
kinwail committed Jun 11, 2018
1 parent 701b4d8 commit b602bc2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,14 @@ console.log(canVote(43))
* Console.log your result.
*/


function login(password){
if (password === "abcd"){
return "Login Success!"
}else{
return "Login failed. Try Again"
}
}
console.log(login("dasf"))
/*
* #3
* Function - isGreaterThan
Expand Down

0 comments on commit b602bc2

Please sign in to comment.