04 2020 档案
摘要:用promise实现一个promise.all let PromiseAll = (promises)=>{ return new Promise((resolve, reject)=>{ let results = new Array(promises.length) for(let i=0;i<
阅读全文
摘要:面试题一 function A(){ console.log(1) } function Fn(){ A=function(){ console.log(2) } return this } Fn.A=A Fn.prototype ={ A: ()=>{ console.log(3) } } A()
阅读全文
浙公网安备 33010602011771号