Egghead Instructor Marius Schulz

Marius Schulz

I'm a software developer, web enthusiast, and computer science student living in Munich, Germany. When I'm not programming, I love to read or go latin dancing.



Unlock all of Marius's PRO Lessons
click for instant access!

Browse Marius Schulz's lessons.

showing 12 lessons...

Install TypeScript declarations from npm

P

Identify and Deal with NaN in JavaScript

P

Check if an array contains an item using Array.prototype.includes

P

Use the Exponentiation Operator in JavaScript

P

Write an Asynchronous Function with async/await

P

Call an Asynchronous Function in a Promise Chain

P

Convert Any Function into an Asynchronous Function

P

Await Multiple Promises Concurrently with Promise.all()

P

Use the await Operator with Any Thenable

P

Iterate Asynchronously with the for-await-of Loop

P

Handle Errors in Asynchronous Functions

P

Await Multiple Promises Sequentially or Concurrently

P
typescript tutorial about Install TypeScript declarations from npm

Install TypeScript declarations from npm

1:31 typescript PRO

This lesson shows you how to acquire type declaration files for your TypeScript projects directly from npm.

js tutorial about Identify and Deal with NaN in JavaScript

Identify and Deal with NaN in JavaScript

2:12 js PRO

Dealing with the special NaN value can be tricky in JavaScript. It behaves like a number and not a number at the same time. This lesson explains how to identify it using the isNaN function or the Number.isNaN method.

js tutorial about Check if an array contains an item using Array.prototype.includes

Check if an array contains an item using Array.prototype.includes

1:35 js PRO

We often want to check if an array includes a specific item. It's been common to do this with the Array.prototype.indexOf method, but now we have a simpler way: We can use the Array.prototype.includes method, which is available starting with ES2016.

js tutorial about Use the Exponentiation Operator in JavaScript

Use the Exponentiation Operator in JavaScript

3:30 js PRO

ES2016 introduced the exponentiation operator ** to JavaScript. This lesson shows how it works and how you can use it as a replacement for the Math.pow function.

js tutorial about Write an Asynchronous Function with async/await

Write an Asynchronous Function with async/await

2:01 js PRO

This lesson introduces the ES2017 async and await keywords. It shows how to write a short asynchronous function that makes an HTTP request and parses the response.

js tutorial about Call an Asynchronous Function in a Promise Chain

Call an Asynchronous Function in a Promise Chain

1:36 js PRO

In this lesson, we’re exploring how asynchronous functions can be seamlessly called within a promise chain — just like any other function that returns a promise.

js tutorial about Convert Any Function into an Asynchronous Function

Convert Any Function into an Asynchronous Function

2:31 js PRO

Any function can be made asynchronous, including function expressions, arrow functions, and methods. This lesson shows the syntax for each of the function types.

js tutorial about Await Multiple Promises Concurrently with Promise.all()

Await Multiple Promises Concurrently with Promise.all()

2:33 js PRO

Oftentimes, you want to kick off multiple promises in parallel rather than awaiting them in sequence. This lesson explains how that can be achieved in a readable manner using await, the Promise.all() method, and destructuring assignment.

js tutorial about Use the await Operator with Any Thenable

Use the await Operator with Any Thenable

1:38 js PRO

The await operator is not restricted to ES2015 promises. It can be used to await any thenable — that is, any object with a .then() method. This lesson illustrates how to await promises that have been created using a promise library.

js tutorial about Iterate Asynchronously with the for-await-of Loop

Iterate Asynchronously with the for-await-of Loop

3:01 js PRO

We finish the course by looking at asynchronous iterators, a generic data access protocol for asynchronous data sources. This asynchronous iteration scheme is built on top of a new for-await-of loop and async generator functions.

js tutorial about Handle Errors in Asynchronous Functions

Handle Errors in Asynchronous Functions

2:39 js PRO

This lesson shows how regular control flow statements such as try/catch blocks can be used to properly handle errors in asynchronous functions. Oftentimes, the resulting code is easier to read than complex promise chains with .catch() methods.

js tutorial about Await Multiple Promises Sequentially or Concurrently

Await Multiple Promises Sequentially or Concurrently

2:13 js PRO

You can await multiple promises either sequentially or concurrently, depending on where you put the await operators. This lesson shows both approaches and compares the performance characteristics.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?