Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Asynchronous JavaScript
Rating: 4.5 out of 5(1,245 ratings)
7,405 students

Asynchronous JavaScript

Become an expert in Asynchronous JavaScript, Callbacks, Promises, Async/Await, Generators & The Event Loop
Created byAsim Hussain
Last updated 2/2019
English

What you'll learn

  • Ace any asynchronous JavaScript interview question
  • Spend less time chasing down bugs in asynchronous code
  • Write fast performant JavaScript applications
  • Understand complex JavaScript concepts

Course content

9 sections51 lectures4h 38m total length
  • Welcome2:13
  • Agenda3:42
  • How to get the course code?1:54
  • How to install node and which node to install?5:43

    In this lecture I'll explain what features are supported in each version of NodeJS, the various different ways you can install NodeJS on your computer, finally I'll show you how to use the tool NVM which let's you install and flip between multiple versions of NodeJS depending on what each of your projects require.

  • How to get setup with Visual Studio Code?11:25

    Just the absolute essentials to get setup with Visual Studio Code to complete the exercises in this course. We'll cover where to get it and how to install it? How to open a folder of code? How to install some extensions to make your live easier? How to change the settings of VS Code and finally how to debug?

  • Whats V8 vs Chrome vs Node?12:05

    How is the JavaScript you write in NodeJS different from the JavaScript you write in the browser. Understanding this will help you understand the fundamental nature of JavaScript and asynchronicity. We'll talk about JavaScript engines, especially the V8 engine, we'll then talk about two implementations of V8 which is NodeJS and Chrome. By the end you will understand the important distinctions of each and how this changes how you write code in each platform.

Requirements

  • Be familiar with `git` and be able to `git clone` repositories from github
  • At least a basic level of Javascript, you must have written an app or two already.
  • Doesn't need to be an expert in Node but must know what it is and be comfortable running JavaScript in Node

Description

Do you know what's wrong with this code? Can you fix it without moving the last variable up the page?

############################################

function doAsyncTask(cb) {
    cb();
}

doAsyncTask( () => console.log(message) );

const message = "Hello I am a teapot";

############################################

If you're not certain then this Asynchronous JavaScript course is perfect for you.

What

Understanding the asynchronous nature of Javascript is key to mastering the language. 

This course is designed to take someone with a beginner level knowledge of async programming and turn them into an expert.

We do this by starting off very simple, explaining the core concepts. 

Then step by step adding in layers of knowledge, punctuated by quizzes and coding challenges to cement and your knowledge before moving onto the next section.

Why

I promise you'll end this course an expert in asynchronous programming in JavaScript, with knowledge most other experts don't even have.

You'll ace any JavaScript interview questions related to asynchronous code.

You'll spend less time chasing down bugs in async code.

You'll amaze your colleagues and friends with your level of knowledge and expertise in async programming.

How

I will explain what async and sync code really is, the advantages and disadvantages of each.

We'll cover in-depth the various asynchronous patterns in JavaScript including Callbacks, Promises, Async/Await and even Generators with plenty of exercises to practice what you've learnt.

In the end we'll go deep into the event architecture itself,  you'll know how async code is actually implemented in these applications.

Who

The ideal student for this course is someone with at least a basic level of Javascript, you must have written a few apps already.

You'll also need some familiarity with node and be comfortable on the command line.

But everything else I will explain from first principles.

Who this course is for:

  • Anyone who is a little confused with asynchronous code
  • Anyone who wants to know what the differences are between Callbacks, Promises, Async/Await and Generators
  • Anyone who is interested in writing fast performant code in Node or Browsers.
  • Anyone who wants to know what setImmediate really does?
  • Anyone who wants to know when requestAnimationFrame is run?