Expression
- A fragment of code that producues a value is called expression , Everty value written literally is a expression
Operators
- Arithmetic Operators
- Addition +
- Subtraction -
- Multiply *
- Divsion /
- Exponentional **
- Increment ++
- Decrement —
- Assignment Operators
=same asx = y+=same asx = x + y-=same asx = x - y*=same asx = x * y/=same asx = x / y%=same asx = x % y**=same asx = x ** y
- Comparision operators
==equal to (type ignore)!=not eq to (type ignore)===equal to!==not equal to>=gt eq to
- Logical Operators
||or&&and!not
- Bitwise operators (operators on each bit)
- Comments (code that doesn’t execute)
let a = 10 ;// Single line comment/* Multiline comment*/