keywords:
Bookmark and Share



Front Back
In JavaScript programming, you can write your own procedures, called _____, which are similar to the methods associated with an object.
functions
The term _____ refers to where in your program a declared variable can be used. A global variable is one that is declared outside a function and is available to all parts of your program. A local variable is declared inside a function and is only available within the function in which it is declared.
variable scope
An _____ is a specific circumstance (such as an action performed by a user, or an action performed by the browser) that is monitored by JavaScript and that your script can respond to in some way.
event
Code that executes in response to a specific event is called an _____.
event handler
The process of determining the order in which statements execute in a program is called _____ or _____.
decision making, flow control
The _____ statement is used to execute specific programming code if the evaluation of a conditional expression returns a value of true.
if
A _____ is a set of statements contained within a set of braces, similar to the way function statements are contained within a set of braces.
command block
An if statement that includes an else clause is called an _____ statement.
if ... else
When one decision-making statement is contained within another decision-making statement, they are referred to as _____ decision-making structures.
nested
The _____ statement controls program flow by executing a specific set of statements, depending on the value of an expression.
switch
A _____ statement is a control structure that repeatedly executes a statement or a series of statements, while a specific condition is true or until a specific condition becomes true.
loop
The _____ statement is used for repeating a statement or series of statements as long as a given conditional expression evaluates to true.
while
Each repetition of a looping statement is called an _____.
iteration
An _____ is a situation in which a loop statement never ends because its conditionl expression is never false.
infinite loop
The _____ statement executes a statement or statements once, then repeats the execution as long as a given conditional expression evaluates to true.
do ... while
The _____ statement is used for repeating a statement or series of statements as long as a .. given conditional expression evaluates to true.
for
The _____ statement halts a looping statement and restarts the loop with a new iteration.
continue
x of y cards