ES6 规定, Promise 对象是一个构造函数,用来生成 Promise 实例。 下面代码创造了一个 Promise 实例。 const promise = new Promise(function(resolve, ...
確定! 回上一頁