Skip to content

Ultimate JavaScript Mastery: Types

Primitive / Value Types

  • String
  • Number
  • Boolean
  • undefined
  • null

Reference Types

  • Object
  • Array
  • Function

Operators

  • Arithmetic
  • Assignment
  • Comparison
  • Equality
  • Ternary: cond ? IfTrue : ifFalse;
  • Logical: &&, ||, !
  • Bitwise: &, |, ^

Operator Precedence

  • It is a thing
  • Use parenthesis if you aren’t sure