JS Expressions and Operators

MDN Expressions and Operators | MDN Assignment Operators | Arithmetic Operators | Bitwise Operators | Logical Operators

String Operators | * Conditional Ternary Operators | Unary Operators | Relational Operators | Operator Precedence

** Typeof **



  console.log(typeof 42);
  // expected output: "number"
  
  console.log(typeof 'blubber');
  // expected output: "string"
  
  console.log(typeof true);
  // expected output: "boolean"
  
  console.log(typeof undeclaredVariable);
  // expected output: "undefined"
  

Complexity = 5
*** Demo 2s Operators ***