var myInt = 1
console.log(`my variable is ${myInt}`);
// my variable is 1
//This is an example of a Temporal Literal
lunchParty = ["Angela", "Ben", "Jenny", "Michael", "Chloe"];
function whosPaying(names) {
let upperBound = names.length;
let PersonBuyingLunch = Math.floor(Math.random() * upperBound)
return names[PersonBuyingLunch]
}
//below are backticks, not single quotes
alert(`${whosPaying(lunchParty)} is buying lunch today`)
whosePaying(lunchParty)
var v = "Mr. Variable";
console.log(`Hello I am variable ${v}`);