Skip to content

Commit 1f745e3

Browse files
Alexandra SiroisAlexandra Sirois
authored andcommitted
completed devleagueprep#2
1 parent 2ccffef commit 1f745e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

exercises.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ console.log(canVote(20));
4848
* Console.log your result.
4949
*/
5050

51+
function login(password){
52+
if(password === "test1234"){
53+
return "Login Success!";
54+
}
55+
}
56+
console.log(login("test1234"));
5157

5258
/*
5359
* #3

0 commit comments

Comments
 (0)