1 comment

[ 507 ms ] story [ 223 ms ] thread
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.