Change the third line such that the user can still vote (variable canVote is true)
even if the user intializes the variable residence
incorrectly as Goo
.
CODE TEMPLATE
let age = 22;
let residence = "Goo"; // initialized incorrectly (spelling mistake)
let canVote = age >= 18 && residence === "Goa";// change this line
console.log(canVote); // should print true
let age = 22;
let residence = "Goo"; // initialized incorrectly (spelling mistake)
let canVote = age >= 18 || residence === "Goa";// change this line
console.log(canVote); // should print true