摘要: Promise 处理异步: let promise = new Promise(resolve => { setTimeout(() => { resolve(' promise timeout '); }, 2000); }); promise.then(value => console.log( 阅读全文