diff --git a/exercises.js b/exercises.js index 9edd891..bb7de30 100644 --- a/exercises.js +++ b/exercises.js @@ -48,6 +48,12 @@ console.log(canVote(20)); * Console.log your result. */ +function login(password){ + if(password === "test1234"){ + return "Login Success!"; + } +} +console.log(login("test1234")); /* * #3