Trying to run a if statement based off a user input, would this be the correct way? So if the user is on a subscription then isSubscription is true.
var subscription = window.alert("Is this a subscription? (Y/N)");
if (subscription == "Y") {
isSubscription = true;
} else {
isSubscription = false;
window.alert("No activation key");
}