We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b45c7 commit 9985495Copy full SHA for 9985495
exercises.js
@@ -50,7 +50,16 @@ console.log(canVote(18));
50
* Console.log your result.
51
*/
52
53
+function login (password) {
54
+ if (password === "test1234") {
55
+ return "Login Success!";
56
+ } else {
57
+ return "Login failed.";
58
+ }
59
+}
60
61
+console.log(login('test1234'));
62
+console.log(login('1234test'));
63
64
/*
65
* #3
0 commit comments