-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6634f42
commit 0c37a21
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Operators and Loops | ||
|
||
### What is an expression in JavaScript? | ||
|
||
A unit of code that resolves to a value. | ||
|
||
### Why would we use a loop in our code? | ||
|
||
To automate something that is done repeatedly. To simplify code. | ||
|
||
### When does a for loop stop executing? | ||
|
||
Until a specified condition evaluates to false. | ||
|
||
### How many times will a while loop execute? | ||
|
||
A long as a specified condition evaluates to true. |