We’ll spare you the singing Oompa Loompas.
So far we’ve been declaring functions like this:
There are no surprises here, but let’s get our terminology down: formally, the first statement above is a function declaration, which creates a function that has a name—in this case
quack—that can be used to reference and invoke the function.
So far so good, but the story gets more mysterious because, as you ...