/The-Modern-JavaScript-Tutorial

Let learn JavaScript, starting from scratch and go on to advanced concepts.

PART 1

The JavaScript Language

Here we learn JavaScript, starting from scratch and go on to advanced concepts like OOP.

We concentrate on the language itself here, with the minimum of environment-specific notes.

An Introduction

1.1 An Introduction to JavaScript

1.2 Code editors

1.3 Developer console

JavaScript Fundamentals

2.1 Hello, world!

2.2 Code structure

2.3 The modern mode, "use strict"

2.4 Variables

2.5 Data types

2.6 Type conversions

2.7 Operators

2.8 Comparisons

2.9 Interaction: alert, prompt, confirm

2.10 Conditional operators: if, '?'

2.11 Logical operators

2.12 Loops: while and for

2.13 The "switch" statement

2.14 Functions

2.15 Function expressions and arrows

2.16 JavaScript specials

Code quality

3.1 Debugging in Chrome

3.2 Coding style

3.3 Comments

3.4 Ninja code

3.5 Automated testing with mocha

3.6 Polyfills

Objects: the basics

4.1 Objects

4.2 Garbage collection

4.3 Symbol type

4.4 Object methods, "this"

4.5 Object to primitive conversion

4.6 Constructor, operator "new"

Data types

5.1 Methods of primitives

5.2 Numbers

5.3 Strings

5.4 Arrays

5.5 Array methods

5.6 Iterables

5.7 Map, Set, WeakMap and WeakSet

5.8 Object.keys, values, entries

5.9 Destructuring assignment

5.10 Date and time

5.11 JSON methods, toJSON