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 7e3b11a commit 7964b9cCopy full SHA for 7964b9c
exercises.js
@@ -29,6 +29,11 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true
29
* The function will return true if the number passed into the function is equal to or greater than Hawaii's voting age. Console.log your result.
30
*/
31
32
+function canVote(age){
33
+ if (age >= 18){
34
+ return age;
35
+ }
36
+}
37
38
/*
39
* #2
0 commit comments