Gátlisti fyrir Próf 1 - GunnarThorunnarson/FORR3JS05DU GitHub Wiki

Gátlisti fyrir próf 1

Efni og verkefni 1 á tímabilinu 05.01.26 - 18.01.26 er til prófs:

  • Primative datatypes; null, undefined, boolean, number (NaN), string, symbol, bigint
  • Use strict
  • Variables and differences: var, let, const
  • Comments
  • Template literals, Plus operatator (+)
  • Operators; assignment, arihmetic, comparison ( ex. == vs. === ), logical ( && , || , !, ?? ), Unary (ex. ++x, x++ )
  • Control flow; if, if...else, ternary, while, switch, for, for...in, for...of
  • Functions and parameters, function expression, arrow functions, recursive functions
  • Scope (global, local, block, function)
  • Objects (complex data types), object methods, object references, this
  • Copying values vs. reference values
  • Array and Array methods; forEach, push, pop, shift, unshift, splice, slice, indexOf, map
  • Basic Data structures; Array of objects, nested objects
  • Rest parameters, spread
  • Map, Set
  • Class, Class inheritance