10.30字节一面
【再再再再再再再战字节,摆烂了,这次一面都没过(手撕做出来了
前面还有几轮字节面试忘记录音了,就不记录了。
1.自我介绍
2.主要技术栈是
3.是否了解react
4.做题【建议下次做这种题目拿个草稿纸!!】
console.log('start');
setTimeout(() => {
console.log('children2');
setTimeout(function() {
console.log('children8');
}, 0) ;
Promise.resolve().then(() => {
console.log('children3');
})
}, 0);
new Promise(function(resolve, reject) {
console.log('children4');
setTimeout(function() {
console.log('children5');
resolve('children6')
}, 0) ;
}).then((res) => {
console.log('children7');
setTimeout(() => { console.log(res); }, 0)
});
//start
// children4
// children2
// children3
// children5
// children7
// children8
// children6
介绍思路
5.讲讲事件循环机制
6.promise的理解,特征和常用api
7.promise的链式调用是如何支持的
8..then,.catch,.finally有什么区别
9..then和.catch在捕获异常上有什么区别
10.除了做异步请求中,除了使用promise,还能用什么
11.async/await于promise的区别
12.实际代码执行上有什么差异
13,js为什么会有任务调度机制
14.js为什么是单线程
15.Java支持单线程是怎么处理的
16.做题
/* 输入:((2 + 3) + (3 * 4)) + 2 输出: [ '2 + 3', '3 * 4', '(2 + 3) + (3 * 4)', ] 输入: (() 输出:error */
18.埋点平台获取不到id这里这么处理的介绍一下
17.反问
技术栈,业务
#字节跳动##校招##前端##面经##秋招#面经烤面筋 文章被收录于专栏
碎碎念记录面试经历
查看4道真题和解析