Reading-Notes

The web site hold my reading notes in code 201.


Operators and Loops

## Expressions and Operators Operators are used to perform specific mathematical and logical computations on operands. In other words, we can say that an operator operates the operands. In JavaScript operators are used for compare values, perform arithmetic operations etc. There are various operators supported by JavaScript.

Type of operates:

operater function ex.symbole
Assignment operators assigns a value to its left operand based on the value of its right operand. = += -=
Logical operators perators actually return the value of one of the specified operands, so if these operators are used with non-Boolean values, they may return a non-Boolean valu != &&

Exampel code:

Exampels

Loops

A quick and easy way to do something repeatedly.

for loop form for loop form

Exampel: code

while loop form while Exampel: Exampel

Back to home page