摘要: 1、解构赋值被结构的对象不能为undefined或null,否则会报错 const {a,b,c,d,e} = obj || {}; 2、Promise.all并发 const fn = () =>{ Promise.all([fn1(),fn2()]).then(res =>{ console.l 阅读全文
posted @ 2022-01-05 18:06 热心市民宗某§ 阅读(23) 评论(0) 推荐(0)