_________ is used to associate an object's name with the object's properties or methods.
Consider the following Code:
<script>
var state = "";
var orderAmount = 50;
state = prompt("Which state do you live in?","");
if (state.toUpperCase() == "CA") {
alert("Your total owed is: " + (orderAmount * 1.0825));
} else {
alert("Your total owed is:" + orderAmount);
}
</script>
What will the alert method display if the user lives in Tennessee?
Regarding cookies: If the expires attribute is not used, when will the cookie expire?
You can declare as many methods for your custom object as you want.