拼多多前端一面1.项目2.组件自适应3.手写防抖function debounce(fn,delay) { let timer return function () { let args = Array.prototype.slice.call(arguments) clearTimeout(timer) timer = setTimeout(()=>{ fn.apply(this,args) },delay) }}然后追问如何改写才能使得3次then获得相同的结果我想不到,此处a@一个大佬const fun = debounce()fun().then()fun().then()fun().then()4.原型链5.apply的第二个参数可以是伪数组吗,我说伪数组会有问题(可以是伪数组的)6.伪数组如何转成数组Array.sliceArray.from数组解构7.styled-components的原理,里面有scoped包裹(类似vue 的style的scoped)8.对框架的感受9.js隐式转换10.隐式转换遇到过哪些坑