Master Modern JavaScript Fast: The Most Complete Beginner’s Guide: (And The Weird Parts Explained) Rick Sekuloski Copyright © 2021 Rick Sekuloski All rights reserved. ISBN: CONTENTS Preface Who is this book for? How to Get the most out of this book? Download the example code files Obtain the images you will need Chapter 1 - Introduction to JavaScript and Programming Assembly “low-level” languages “High-level” languages How does a computer understand the code? Understanding JavaScript A bit of JavaScript history JavaScript Versions HTML, CSS & JavaScript: How they work together? Chapter 2 – How to Run JavaScript Chapter 3 – Lexical Grammar & Rules Comments Literals Identifiers Reserved Keywords Statements Case Sensitivity Chapter 4 – Types, Values, and Variables Primitive and Object types Variables and Assignment Declaring a variable Initializing a variable Var, Let, and Const Var Hoisting Let Const Number Literals String Literals Template Literals Single character escape sequences Arithmetic Operators String Concatenation + Boolean Values Null and Undefined Comparison and Logical Operators Objects Create Objects using new keyword Object Prototypes Creating objects using Object.create() Primitives passed by value Arrays Array Literals Create Arrays using new Array () Spread Operator Access Array Elements Multidimensional Arrays Symbols Summary Chapter 5: Statements Basic Expression Statements Conditional Statements or Branches If-else statement Else if statement Conditional (ternary) operator Switch Statement Summary Chapter 6: More about Operators Numbers in Strings Assignment Operator Operator Operator Precedence Summary Chapter 7: Loops While Loop Do While Loop For Loop for/of loop for/of loop with objects Object.keys() – for/of Object.entries() – for/of for/of – strings with Unicode for/in loop Is for/in loop good for arrays? Break statement Continue Statement Label Statement Summary Chapter 8: Functions Declaring Functions Invoke Functions Function Expression Invoke Function Expression Invoking a function as a method Invoking a Function with a Function Constructor Call and Apply method Arrow Function Arrow function on arrays Passing Arguments to functions Default function parameters Closures Exceptions Throwing Exceptions Summary Chapter 9: OOP – Object Oriented Programming Methods Prototypes and Constructors Classes Inheritance Setters and Getters Static properties and methods Public, Private Fields Overriding methods Overriding constructor