懂车帝企业效率一面

时长 1h

1. 自我介绍
2. 实习
3. 作用域链
4. 用过哪些useHook,作用,怎么使用
5. setState原理
6. react diff过程 
7. webpack的loader和plugin区别

看代码说输出
1. 回答错误
```ts
const async1 = async () => {
  console.log('async1');
  setTimeout(() => {
    console.log('timer1')
  }, 2000)
  await new Promise(resolve => {
    console.log('promise1')
  })
  console.log('async1 end')
  return 'async1 success'
}
console.log('script start');
async1().then(res => console.log(res));
console.log('script end');
Promise.resolve(1)
  .then(2)
  .then(Promise.resolve(3))
  .catch(4)
  .then(res => console.log(res))
setTimeout(() => {
  console.log('timer2')
}, 1000)
```

2. 回答错误
```ts
function obj(){}
Function.prototype.one = function(){}
Object.prototype.two = function(){}
obj = new Obj()

问obj是否可以访问到one和two方法
```

手撕
函数柯里化

反问
1. 业务是什么(打卡,绩效考核审批流程之类的,头一次见这个部门,感觉怪怪的)
2. 我在xhs的时候看到AI部门在制作设计图转码的AI,并且还有figma make这种可以直接生成设计图和前端代码的AI,以及谷歌推出了CDP-MCP,让Agent可以调试浏览器了,感觉都倾向于通过AI来赋能前端UI构建,请问这种情况下前端除了扎实的UI构建功底以外,还有什么提升竞争力的方法呢

10mins后约明天早上11点二面,让我加强基础

这个部门咋样啊,感觉怪怪的,答成这样都可以这么快过,有点害怕
#字节##懂车帝##前端##面经##牛客AI配图神器#
全部评论

相关推荐

评论
3
4
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务