Skip to content

Commit a86ee90

Browse files
committed
1 parent 72dcb13 commit a86ee90

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

exercises.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ console.log(canVote(19));
5151
* Console.log your result.
5252
*/
5353

54+
function login(password){
55+
if (password === 'test1234'){
56+
return 'login success!'
57+
}
58+
}
59+
60+
login(test1234);
5461

5562
/*
5663
* #3

0 commit comments

Comments
 (0)