JavaScript by Example
JavaScript is a programming language ubiquitous to web development. It is one of the three core web technologies, along with HTML and CSS.
It is the most used programming language in the world.
JavaScript By Example is an introduction to JavaScript using annotated example code. It is intended for those already familiar with programming fundamentals.
Inspired by Go By Example, Haskell By Example, and Dart By Example.
Hello World!
Values
Variables
For Loops
While Loops
If / Else
Ternary
Switch
Exceptions
Array
Object
Set
Functions
Function Parameters
IIFE (pronounced iffy)
Scope
Window
Closures
Context, this
Bind
Prototypes and Inheritance
ES6 Classes
Higher Order Functions
Promises
Async / Await
Fetch and HTTP
DOM Nodes
DOM Event Listeners