program structure Flashcards
A fragment of code that produces a value is called an _________.
expression
If an expression corresponds to a sentence fragment, a JavaScript _________ corresponds to a full sentence.
statement
To catch and hold values, JavaScript provides a thing called a _______, or variable
binding
let caught = 5 * 5; which in the sentence is a binding?
caught
After a binding has been defined, its name can be used as an ____________.
expression
Bindings or variable names can start with numbers. T/F
false
Bindings can include numbers. T/F
true
Bindings can include the $ sign. T/F
true
Bindings can not include the _ sign. T/F
false
Bindings can’t use any punctuation and special characters other than $ and _. T/F
true
The collection of bindings and their values that exist at a given time is called the __________.
environment
A _______ is a piece of program wrapped in a value.
function
Values given to functions are called __________.
arguments
Executing a function is called ______, ______, or ______ it.
invoking, calling, or applying
When a function produces a value, it is said to _______ that value.
return