From a86ee90c50173a563054900a63f3770f1aed3570 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 11 May 2019 19:16:39 -0700 Subject: [PATCH] solved #2 --- exercises.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/exercises.js b/exercises.js index def3de2..8ff5079 100644 --- a/exercises.js +++ b/exercises.js @@ -51,6 +51,13 @@ console.log(canVote(19)); * Console.log your result. */ +function login(password){ + if (password === 'test1234'){ + return 'login success!' + } +} + +login(test1234); /* * #3