写ppt的助手时间:2021-07-20 19:05:45代码格式化工具。 https://carbon.now.sh/?bg=rgba(74%2C144%2C226%2C1)&t=material&wt=none&l=auto&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=56px&ph=56px&ln=false&fl=1&fm=Fira%20Code&fs=11px&lh=124%25&si=false&es=2x&wm=false&code=function%2520runPromiseByQueue(myPromises)%2520%257B%250A%2520%2520console.log(%27reduce%27)%250A%2520%2520myPromises.reduce((previousPromise%252C%2520nextPromise)%2520%253D%253E%2520%257B%250A%2520%2520%2520%2520previousPromise.then(()%2520%253D%253E%2520nextPromise())%250A%2520%2520%257D%252C%2520Promise.resolve())%250A%257D%250A