📅  最后修改于: 2022-03-11 15:02:33.785000             🧑  作者: Mango
代码示例1
var deferreds = [];
var p = new Promise(function(resolve, reject){
deferreds.push({resolve: resolve, reject: reject});
});