Skip to content

Commit

Permalink
Answer questions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandamarie90 committed Feb 9, 2024
1 parent 6634f42 commit 0c37a21
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions class-08.md
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.

0 comments on commit 0c37a21

Please sign in to comment.