Modern Asynchronous JavaScript: error in "Executing Multiple Promises" (page 22)