Рет қаралды 98,975
JavaScript Simplified Course: javascriptsimplified.com
One of the most common types of interview questions is to recreate a common feature in JavaScript. This may be as simple as recreating some higher order array methods or as complex as creating an entire promise library from scratch. In this video I will be showing you how to recreate the entire JavaScript promise API which is the hardest version of this type of interview question you could get asked.
📚 Materials/References:
GitHub Code: github.com/WebDevSimplified/j...
JavaScript Simplified Course: javascriptsimplified.com
JavaScript Promise Video: • JavaScript Promises In...
JavaScript Promise Article: blog.webdevsimplified.com/202...
🌎 Find Me Here:
My Blog: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:40 - Downloadable Test File
01:23 - Class Setup
03:55 - then
11:45 - catch
13:18 - Chaining
21:08 - finally
22:52 - Uncaught Promise Exception
25:00 - resolve and reject
25:50 - all
28:36 - allSettled
30:39 - race
31:33 - any
#JSPromise #WDS #JavaScript