Question: The following JavaScript code will display the message You can vote! if the age variable s value is 4 0 , but will display When
The following JavaScript code will display the message You can vote! if the age variables value is but will display When you are you can vote! if the age variables value is
if age
window.alertYou can vote!";
else
window.alertWhen you are you can vote!";
True
false
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
