Read05

Reading-notes.md


Read05

Expressions and operators:

The main opject of JavaScript expressions and operators, including assignment, comparison, arithmetic, bitwise, logical, string, ternary and more.

JavaScript Loop:

Loops offer a quick and easy way to do something repeatedly.

The main statements for loops provided in JavaScript are:

  • for statement:
    • A for loop repeats until a specified condition evaluates to false. The JavaScript for loop is similar to the Java and C for loop.
  • while statement:
    • A while statement executes its statements as long as a specified condition evaluates to True.
    • If the condition becomes false, statement within the loop stops executing and control passes to the statement following the loop.