Skip to content

Latest commit

 

History

History

javascript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

JavaScript

Learning to write good vanilla javascript is an important building block for every developer in the web.

It's important to understand that JS runs on various environments, and while it started on the browser, it is now a ubiquitous language. Depending on the context, the you will given specific API-s to work with, which should not be

Goals

  1. Know what is special about JS (compared to other languages)
  2. Understand value types and references
  3. Understand the concept of closures
  4. Understand prototypical inheritance
  5. Understand passing callbacks, high-order functions and promises
  6. Be able to distinguish between the language API and context API (e.g., document.getElementById is not part of the language, but only part of the DOM api)

Topics

  1. Value types
    1. Primitive value types
    2. Non-primitive value types
    3. Passing by reference
  2. Functions
    1. Scoping
      1. Function scope
      2. Block scope
    2. Function invocation
    3. Nested functions
    4. Shadowing
    5. Hoisting
    6. Closures
  3. What is this?
  4. Prototypical Inheritance
  5. Object construction
    1. Object.create
    2. Factory
    3. Class
  6. Async code
    1. Event loop
    2. Timers
    3. Callbacks
    4. Promises
  7. DOM API
    1. Search elements
    2. Traverse
    3. Change attributes
    4. Create/clone/remove nodes
    5. Event listeners

Exercise

  1. Implement Roman Time exercise
  2. Reach Kyo 4 in Codewars

Resources