Exercise 1: Let's Vote
Practice implementing a function in JavaScript.
We'll cover the following...
Problem statement
In this exercise, you have to write a function named canVote()
that takes age as a parameter and returns a string, as shown in the following example calls to ...
Access this course and 1400+ top-rated courses and projects.