嵌套回调 & Promise & generator 异步方法的对比 1、回调函数方式 2、promise 方式 3、generator方式 4、对比ajax, promise 和 generator 的应用场景 (一) (二) (三)