I’m doing the Var Scope challenges now and I thought back to this thread and I started to wonder.
e.g.
function minusSeven(num) {
return num - 7;
}
Is the var num, which is defined in the definition of the function, global or local.
I presume it’s local but who knows right?