WEB DEVELOPMENT

FRONT-END

JAVSCRIPT 101 (I)

SYNTAX

COMMENTS

// a one line comment

/* this is a longer, 
 * multi-line comment
 */

/* You can't, however, /* nest comments */ SyntaxError */

VARIABLES AND PRIMITIVES

DECLARATIONS

var a = 2;

let a = 2;

const a = 2;

GLOBAL vs. scope

DATA TYPES

  • undefined
  • null
  • Boolean
  • Number
  • String
  • Symbol
  • Object

EXPRESSIONS AND OPERATORS

OPERATORS

  • Assignment
  • Comparison
  • Arithmetic
  • Bitwise
  • Logical
  • String
  • Conditional (ternary)
  • Comma
  • Unary
  • Relational

FLOW LOGIC

FUNCTIONS

Q&A

THANK YOU!