What is the value of the boolean variable canVote at the end of this program?
var age = 17;
var isCitizen = true;
var canVote = age >= 18 && isCitizen;
JavaScript
True
False
Yes
none, there is a syntax error in this code
1 answer
The value of the boolean variable canVote at the end of this program is false.