Next Section: 自定义Promise_整体结构678 plays

5 秒后自动播放下一节
  Watch Again

Promise from entry to customization (front-end advancement)

Introduction >
ChapterCourseware
Chapter1Preparation

Course Introduction

02 minutes37 seconds

Function objects and instance objects

11 minutes36 seconds

2 types of callback functions (synchronous and asynchronous)

09 minutes05 seconds

Common built-in errors

13 minutes03 seconds

Error handling (catch and throw)

12 minutes03 seconds
Chapter2Understanding and using Promise

Understanding Promise

09 minutes39 seconds

Promise status and status changes

04 minutes04 seconds

The basic running process of Promise

03 minutes13 seconds

Basic use of Promise

09 minutes03 seconds

Why use Promise?

23 minutes26 seconds

API description of Promise

11 minutes28 seconds

Promise API usage

09 minutes24 seconds

API usage of Promise-2

09 minutes50 seconds

Several key issues with Promise-1

08 minutes11 seconds

Several key issues with Promise-2

09 minutes51 seconds

Several key issues with Promise-3

18 minutes35 seconds

Several key issues with Promise-4

11 minutes25 seconds

Several key issues with Promise-5

17 minutes55 seconds
Chapter3Custom (handwritten) Promise

Custom Promise - Description

03 minutes22 seconds

Custom Promise_overall structure

12 minutes39 seconds

Custom Promise - Constructor Implementation-1

03 minutes11 seconds

Custom Promise - Constructor Implementation-2

11 minutes10 seconds

Custom Promise_constructor testing and improvement

21 minutes45 seconds

Custom Promise_then method implementation-1

19 minutes42 seconds

Custom Promise_then method implementation-2

07 minutes47 seconds

Custom Promise_then method implementation-3

19 minutes27 seconds

Custom Promise_then method testing and improvement

07 minutes27 seconds

Custom Promise_then method implementation (second pass)

24 minutes24 seconds

Customize the resolve and reject methods of Promise_Promise

21 minutes42 seconds

Customize the all method of Promise_Promise

19 minutes13 seconds

Promise's race method

06 minutes24 seconds

Improve all and race methods

04 minutes14 seconds

Promise's resolveDela and rejectDelay methods

09 minutes20 seconds

class version

07 minutes46 seconds
Chapter4async and await

async and await

26 minutes26 seconds
Chapter5JS asynchronous macro queue and micro queue

JS asynchronous macro queue and micro queue

17 minutes31 seconds
Chapter6Promise related interview questions

Interview questions-1

03 minutes14 seconds

Interview questions-2

05 minutes56 seconds

Interview questions-3

08 minutes19 seconds

Interview questions-4

08 minutes42 seconds
  • CancelreplySending
  • Cancelpost a noteSending