OO Patterns - Regex - DOM




CS174

Chris Pollett

Nov 7, 2022

Outline

Variable Hoisting

The Module Pattern

More Faking Visibility

Quiz

Which of the following statements is true?

  1. Javascript does not support anonymous functions.
  2. To access the make property of a Javascript object my_object, one could use either the syntax my_object.make or my_object['make']
  3. Declaring a variable using let creates it with function scope.

OO since Ecmascript 2015

Modules in Ecmascript 2015 and Beyond

Pattern Matching

Pattern Special Characters

Slash Patterns

Yet more special characters

Pattern Modifiers

More Pattern Methods

Execution Environment

Document Object Model

Element Access in Javascript

More on Element Access