diff --git a/exercises.js b/exercises.js index 72efed1..ef7b206 100644 --- a/exercises.js +++ b/exercises.js @@ -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