diff --git a/exercises.js b/exercises.js index a563163..a2be187 100644 --- a/exercises.js +++ b/exercises.js @@ -48,7 +48,11 @@ console.log(canVote(18)); * Console.log your result. */ - +function login(password){ + if(password === 'test1234') + return 'Login Success!' +} +console.log(login("test1234")); /* * #3 * Function - isGreaterThan