Skip to content

Commit 20a52d7

Browse files
Kevin GuoKevin Guo
authored andcommitted
1 parent 114f2a0 commit 20a52d7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

exercises.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ console.log(canVote(18));
4848
* Console.log your result.
4949
*/
5050

51-
51+
function login(password){
52+
if(password === 'test1234')
53+
return 'Login Success!'
54+
}
55+
console.log(login("test1234"));
5256
/*
5357
* #3
5458
* Function - isGreaterThan

0 commit comments

Comments
 (0)