Process syntax
Variables, expressions and operators
- variables are loosely typed in JS
- values: numerical, logical(true, false), string,null
- name: start with with a letter or underscore, case sensitive, and must use var inside a function
- Expressions and operators
- Expressions: arithmetic, logic, string (null vs undef)
- Operators: assignment, comparison, arithmetic, logical, string, special and bitwise
-
- conditional: if … else
- loop: do , while and for