"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _default=(promises)=>
new Promise((resolve,reject)=>{
const len=promises.length;
for(let i=0;i<len;++i){
promises[i].
then(()=>resolve(i)).
catch(reject);
}
});exports.default=_default;