4.21 一面手撕三道,第二题大数相加,第三题lastPromise:要求传入一个Iterable参数,返回最后一个成功的promise,失败的跳过,若都失败返回"all promise is reject"用例: lastPromise([new Promise(res => {setTimeOut(() => res(9), 2000)}), 1, new Promise(rej => {rej(2)}), ]).then(console.log).catch(console.log) // 将输出9 4.27 二面一些基础八股...