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 4acde99 commit bedc5a4Copy full SHA for bedc5a4
exercises.js
@@ -33,7 +33,7 @@ function canVote(age) {
33
if(age >= 18){
34
return 'yes you can vote mah man';
35
}else{
36
- return 'sorry bruh you still too young'
+ return 'sorry bruh you still too young';
37
}
38
39
@@ -52,6 +52,14 @@ console.log(canVote(19));
52
* Console.log your result.
53
*/
54
55
+function login(password) {
56
+ if(password === 'test1234'){
57
+ return "Great job! your password was correct!";
58
+ }else{
59
+ return "please re-enter your password, it came back incorrect :(";
60
+ }
61
+}
62
+console.log(login("test1234"));
63
64
/*
65
* #3
0 commit comments