Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 406 Bytes

class-08.md

File metadata and controls

17 lines (9 loc) · 406 Bytes

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.