JavaScript Book

Learn by doing


Chapter 1: Strings Numbers Booleans

1.1 Introduction to Strings

1.2 Introduction to Numbers

1.3 Introduction to Booleans

Chapter 2: Variables

2.1 Declaring Variables

2.2 Variables and Values

2.3 Variable Reassignment

2.4 Variable Practice

2.5 More Variable Reassignment

Chapter 3: Types if Statements

3.1 Importance of Precise Language

3.2 Introduction to Types

3.3 If Statements

3.4 If Else Statements

Chapter 4: Arrays While Loops

4.1 Introduction to Arrays

4.2 While Loops

Chapter 5: More Arrays and Loops

5.1 Infinite Loops

5.2 While Loops With Arrays

5.3 More Arrays

Chapter 6: Introduction to Functions

6.1 Introduction to Functions

6.2 Variable Scope

Chapter 7: Anonymous Functions

7.1 Anonymous Functions

7.2 Undefined

Chapter 8: Weird Numbers and Logic

8.1 Infinity Nan

8.2 Truthy Falsy

8.3 And or Operators

Chapter 9: Introduction to Objects

9.1 Introduction to Objects

9.2 Math Object

Chapter 10: For Loops

10.1 For Loops

Chapter 11: Common Data Structures

11.1 Nested Arrays

11.2 Nested Objects

11.3 Arrays of Objects

Chapter 12: Looping and Functions

12.1 Type Conversion

12.2 Functions With Array Arguments

12.3 Modulus Operator

12.4 Loops With If

Chapter 13: Better Iterators

13.1 Foreach Functions

13.2 Map Function