Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Building the JavaScript Promise Class
(opens in new tab)
(github.com)
2 points
timothyg
3y ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
timothyg
OP
3y ago
A short guide I wrote on building JavaScript promises from scratch. I've often found it difficult to explain how promises work under the hood; a simple, functional, and reasonably spec-compliant implementation will hopefully make that easier.
j
/
k
navigate · click thread line to collapse