Chapter 2: Callbacks. Callbacks are by far the most common way that asynchrony in JS programs is expressed and managed. Indeed, the callback is the most fundamental async pattern in the language. 对于JS来说,回调函数是异步工作的马,它很好地完成它的任务,除了.... callbacks有它的缺点.许多…