first off, THANK YOU for writing this book. i have looked at a number of promises resources, all equally confusing. this one is the first one that acdtaully makes any sense!
i strongly admire anybody who writes technical books. and especially today when the knowledge contains in the books seems to have a short "shelf life". its as if anymore you cannot even get them published fast enough before they go obsolete.
on page 8 i read:
Assigning Handlers with then()
The then() method is present on all promises and takes two
arguments. The first argument is a function to call when the
promise is fulfilled, called the fulfillment handler.
is the first .then() argument to be returned an actual function? to me it looks more like a returned object.
also (suggestion) - i see the following:
const promise = ....
many technical book examples use variable names that are EASILY mistaken for a reserved word to a newbie idiot like myself. imho i like to see something more like:
const nicholasPromise = ... // no mistaking this for a reserved word!
lastly, is there any way i can get this book in print? (ya old school guy here...)