Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Building the JavaScript Promise Class | Better HN
Building the JavaScript Promise Class
(opens in new tab)
(github.com)
2 points
timothyg
3y ago
1 comments
Share
1 comments
default
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