Leanpub Header

Skip to main content

Complete Guide to Modern JavaScript

Learn everything from the basics of `JavaScript` to the new ES2022 features. Practice with more than 60 quizzes and dive into the basis of `TypeScript`.

Whether you are a complete beginner or you have some knowledge in `JavaScript`, this course will guide you from the basics of the language to all the new features introduced until 2022. At the end of each chapter test your knowledge with quizzes.

Minimum price

$19.00

$19.99

You pay

$19.99

Author earns

$15.99
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
119
Readers
180
Pages
30,819Words
About

About

About the Course

Who is this course for?

This course is the interactive version of my 'Complete guide to Modern JavaScript' Ebook, available on Leanpub.

It is aimed to developer of every level, from beginner to advanced, who want to improve their JavaScript skills and get up to date with all the upgraded done to the language specification since 2015.

This course is not for total beginners, it does cover the basics of programming in general and albeit providing an introduction to JavaScript I would recommend that you take it only if you have at least a basic understanding of the language.

Why should you consider taking this course?

`JavaScript` has evolved a lot during the past years and the way we do things has changed quite a bit. This course aim is to provide you with all the tools you need to start writing code using the latest version of the language.

Each lesson will cover a new set of features and guide you through them with interactive examples and exercises to test your understanding.

At the end of the course you will also find an introduction to TypeScript, a must have knowledge for any `JavaScript` developer in 2022.

What will I be able to do at the end of the course?

At the end of the course you will be able to understand and use all of the new additions to `JavaScript` since 2015. Stay ahead of the game and practice new features that will come out next year.

If you work in a company that is still stuck using old ES5 code, you will be able to get yours and your colleague's skils up to speed and be able to refactor your code in a cleaner and more concise way.

Thank you very much for your attention and happy learning!

Share this course

Instructor

About the Instructor

Alberto Montalesi

Alberto is a self-taught software developer, currently living and working in Vietnam. Here he builds enterprise SaaS using Angular + TypeScript + NodeJs.

In his free time he writes articles and turorials on InspiredWebDev.com.

You can read more about him and his career switch decision here: https://inspiredwebdev.com/from-esl-teacher-to-software-developer

Material

Course Material

  • Introduction

  • About Me

  • Get in touch

  • Contributions & Donations

  • License

  • Set up your environment

  • JavaScript Basics

  • Variables

  • Data Types

  • Functions

  • Understanding function scope and the this keyword

  • JavaScript Basics Quiz

    2 attempts allowed

  • Chapter 1: Var vs Let vs Const & the temporal dead zone

  • Var

  • Let

  • Const

  • The temporal dead zone

  • When to use Var, Let and Const

  • End of Chapter 1 Quiz

    2 attempts allowed

  • Chapter 2: Arrow functions

  • What is an arrow function?

  • Implicitly return

  • Arrow functions are anonymous

  • Arrow function and the this keyword

  • When you should avoid arrow functions

  • End of Chapter 2 Quiz

    2 attempts allowed

  • Exercise 1

  • Chapter 3: Default function arguments

  • Default function arguments

  • End of Chapter 3 Quiz

    2 attempts allowed

  • Chapter 4: Template literals

  • Interpolating strings

  • Expression interpolations

  • Create HTML fragments

  • Nesting templates

  • Add a ternary operator

  • Pass a function inside a template literal

  • Tagged template literals

  • Exercise 2

  • Exercise 3

  • Exercise 4

  • Chapter 5: Additional string methods

  • Additional string methods

  • End of Chapter 5 Quiz

    2 attempts allowed

  • Exercise 5

  • Chapter 6: Destructuring

  • Destructuring Objects

  • Destructuring Arrays

  • Swapping variables with destructuring

  • Exercise 6

  • Exercise 7

  • Chapter 7: Iterables and looping

  • The for of loop

  • The for in loop

  • Difference between for of and for in

  • End of Chapter 7 Quiz

    2 attempts allowed

  • Chapter 8: Array improvements

  • Array.from()

  • Array.of()

  • Array.find()

  • Array.findIndex()

  • Array.some() & Array.every()

  • Exercise 8

  • Quiz 7

    2 attempts allowed

  • Chapter 9: Spread operator and rest parameters

  • The Spread operator

  • The Rest parameter

  • End of Chapter 9 Quiz

    2 attempts allowed

  • Exercise 9

  • Exercise 10

  • Chapter 10: Object literal upgrades

  • Deconstructing variables into keys and values

  • Add functions to our Objects

  • Dynamically define properties of an Object

  • Exercise 11

  • Quiz 9

    2 attempts allowed

  • Chapter 11: Symbols

  • The unique property of Symbols

  • Identifiers for object properties

  • End of Chapter 11 Quiz

    2 attempts allowed

  • Chapter 12: classes

  • Create a class

  • Static methods

  • set and get

  • Extending our class

  • Extending Arrays

  • End of Chapter 12 Quiz

    2 attempts allowed

  • Exercise 12

  • Chapter 13: Promises

  • What is a Promise?

  • Create your own promise

  • End of Chapter 13 Quiz

    2 attempts allowed

  • Exercise 13

  • Chapter 14: Generators

  • What is a Generator?

  • Looping over an array with a generator

  • Finish the generator with .return()

  • Catching errors with .throw()

  • Combining Generators with Promises

  • End of Chapter 14 Quiz

    2 attempts allowed

  • Chapter 15: Proxies

  • What is a Proxy?

  • How to use a Proxy ?

  • End of Chapter 15 Quiz

    2 attempts allowed

  • Chapter 16: Sets, WeakSets, Maps and WeakMaps

  • What is a Set?

  • What is a WeakSet?

  • What is a Map?

  • What is a WeakMap?

  • End of Chapter 16 Quiz

    2 attempts allowed

  • Chapter 17: Everything new in ES2016

  • Array.prototype.includes()

  • The exponential operator

  • End of Chapter 17 Quiz

    2 attempts allowed

  • Exercise 14

  • Chapter 18: ES2017 string padding, Object.entries(), Object.values() and more

  • String padding (.padStart() and .padEnd())

  • Object.entries() and Object.values()

  • Object.getOwnPropertyDescriptors()

  • Trailing commas in function parameter lists and calls

  • Shared memory and Atomics

  • End of Chapter 18 Quiz

    2 attempts allowed

  • Exercise 15

  • Chapter 19: ES2017 Async and Await

  • Promise review

  • Async and Await

  • Error handling

  • End of Chapter 19 Quiz

    2 attempts allowed

  • Chapter 20: ES2018 Async Iteration and more?

  • Rest / Spread for Objects

  • Asynchronous Iteration

  • Promise.prototype.finally()

  • RegExp features

  • Lifting template literals restriction

  • End of Chapter 20 Quiz

    2 attempts allowed

  • Chapter 21: What’s new in ES2019?

  • Array.prototype.flat() / Array.prototype.flatMap()

  • Object.fromEntries()

  • String.prototype.trimStart() / .trimEnd()

  • Optional Catch Binding

  • Function​.prototype​.toString()

  • Symbol.prototype.description

  • End of Chapter 21 Quiz

    2 attempts allowed

  • Exercise 16

  • Exercise 17

  • Chapter 22: What’s new in ES2020

  • BigInt

  • Dynamic Import

  • Optional Chaining

  • Promise.allSettled

  • Nullish Coalescing

  • String.protype.matchAll

  • Module Namespace Exports

  • import.meta

  • globalThis

  • End of Chapter 22 Quiz

    2 attempts allowed

  • Chapter 23: What’s new in ES2021

  • String.prototype.replaceAll

  • Promise.any

  • Logical Operators and Assignment Expressions

  • Numeric Separators

  • WeakRefs

  • Intl.ListFormat

  • dateStyle and timeStyle options for Intl.DateTimeFormat

  • End of Chapter 23 Quiz

    2 attempts allowed

  • Exercise 18

  • Exercise 19

  • Chapter 24: What’s new in ES2022

  • Class Fields

  • Ergonomic brand checks for private Fields

  • Class Static Block

  • RegExp Match Indices

  • .at()

  • Accessible Object.prototype.hasOwnProperty

  • End of Chapter 24 Quiz

    2 attempts allowed

  • An Intro To TypeScript

  • What is TypeScript?

  • How to use TypeScript

  • TypeScript basic types

  • Interfaces, Classes and more

  • Intersection Types and Union Types

  • <code>TypeScript</code> Quiz

    2 attempts allowed

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub