Skip to content

Latest commit

 

History

History
157 lines (123 loc) · 2.01 KB

Javascript.md

File metadata and controls

157 lines (123 loc) · 2.01 KB

JavaScript

Below are all the possible things we will test for.


Notes

** Not Tested for T1 But Required for higher tier cert. You should know it exists and be able to identify it's basic concepts.


1. Basic Operators

  • +
  • -
  • *
  • **
  • /
  • ||
  • &
  • %

2. Conditions

  • ==
  • ===
  • !=
  • !==
  • >
  • <
  • >=
  • <=

3. Data Types

  • Primitive (Mutable)
    • Boolean
    • Null
    • Undefined
    • Number
    • BigInt
    • String
    • Symbol
  • Object (Mutable)
    • Object

4. Strings

  • Template Strings
  • Escape Characters
    • \'
    • \"
    • \\
    • \b
    • \f
    • \n
    • \r
    • \t
    • \v
    • \

5. Array

  • .push()
  • .pop()
  • .shift()
  • .unshift()
  • Sorting
  • Iteration

6. Statements

  • var
  • let
  • const
  • if
  • switch
  • for
  • function
  • return
  • try
  • while

7. Objects

  • Definition
  • Properties
  • Methods
  • Inheritence
  • Accessors
  • this
  • Prototypes

8. Functions

  • Invocation
  • Binding
  • Parameters
  • arguments
  • Arrow-Functions (ES6)
  • this
  • Scope

9. Modules

  • ESM - Browser & Node
    • .mjs
    • import
      • Named Imports
      • Default Imports
    • export
      • Named Exports
      • Default Exports
  • CJS - Node**
    • .cjs
    • require()
    • module.exports
    • CJS DOES NOT WORK IN BROWSERS, however MANY modules use CJS for use in NodeJS (Backend). You should be able to identify the signs of Both to know if it will work in your environment, and potentially modify to work.

10. Classes

  • Constructors
  • Methods
  • Inheritance
  • Static
  • Accessors

11. Async

  • Async
  • Await
  • Callbacks
  • Promises

12. Promises **

  • Construction
  • .then()
  • .catch()
  • .finally()
  • Promise Rejection

13. The Event Loop **

The event loop is one of the most misunderstood concepts of Javascript.
Personally I Highly Highly reccomend watching This Video from JsConf.Asia 2018 -Snow

  • Runtime
    • Stack
    • Heap
    • Queue
  • Run to Completion
  • Animation Frame