Eloquent JavaScript Ch.2

Eloquent JavaScript Ch.2

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Top To Bottom

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

1

All-time users

1

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (30)

Section 1

(30 cards)

Top To Bottom

Front

How is a program executed when statements are put one after another?

Back

Comments

Front

Used when raw code does not convey all the information you want a program to convey to human readers.

Back

For

Front

This loop is a control flow statement for specifying iteration, which allows code to be executed repeatedly.

Back

Else

Front

A programming conditional statement that is an alternative statement that is executed if the result of a previous test condition evaluates to false.

Back

Breaking Out Of A Loop

Front

There are many ways to do this, such as having the looping condition produce false.

Back

Functions

Front

What are special values that encapsulate a piece of program?

Back

Capitalization

Front

This is used when you want to write a binding with multiple words.

Back

The Environment

Front

The collection of binding and their values that exist at a given time.

Back

Console.log

Front

A function used to output values.

Back

Bindings

Front

Used to catch or hold values.

Back

Switch

Front

This statement is a type of selection control mechanism used to allow the value of a variable or expression to change the control flow.

Back

Statements

Front

A full sentence in coding, if an expression is a sentence fragment.

Back

Loops

Front

When the program's flow of control goes back to the start.

Back

Funcitons

Front

A piece of information wrapped in a value.

Back

If

Front

A programming conditional statement that, when proved true, performs a function or displays information.

Back

Bindings

Front

What can be used to file data under a name?

Back

Do

Front

This loop is a control flow statement that executes a block of code at least once, and then repeatedly executes the block.

Back

Return Values

Front

Functions that don't need to have a side effect to be useful.

Back

Binding Names

Front

The name assigned to a binding. Can be any word, and can include digits.

Back

Executing A Function

Front

The process of calling a function by putting parentheses after an expression that produces a function value.

Back

While Loops

Front

A loop that test whether the counter has reached its end value.

Back

Do loops

Front

A loop that always executes its body at least once, and test whether it should stop only after the first execution.

Back

Program

Front

A list of Statements.

Back

Control Flow

Front

The order of function calls.

Back

Expressions

Front

A fragment of code that produces a value.

Back

Side Effects

Front

An expression that changes the world.

Back

Conditional

Front

What can you use to introduce disturbances in the flow of control?

Back

Conditional Execution

Front

When the program takes the proper branch based on the situation at hand.

Back

While

Front

This loop is a control flow statement that allows code to be executed repeatedly based on a given Boolean condition.

Back

Block

Front

When braces are used to group any number of statements into a single statement.

Back