字节 抖音 前端 一面
感觉还是挺技术的,牛客上那种聊天局感觉是主管面。技术总体考察的不难,但是好多忘掉了
常见八股问了一下:
URL从输入到页面显示发生了什么
JS卡死阻塞UI渲染怎么办
代码4道:
1. 看代码说输出
async function func1() {
console.log("h1")
await func2()
console.log("h2")
}
async function func2() {
console.log("h2")
}
console.log("start")
setTimeout(() => {
console.log("Timeout")
}, 0)
new Promise((resolve) => {
console.log("promise")
resolve(1)
}).then(() => {
console.log("finish")
})
console.log("finish")
func1()
2. 数组去重的4种办法
3. 实现百度搜索框,防抖节流
4. 红包分配,每个人至少1分钱
常见八股问了一下:
URL从输入到页面显示发生了什么
JS卡死阻塞UI渲染怎么办
代码4道:
1. 看代码说输出
async function func1() {
console.log("h1")
await func2()
console.log("h2")
}
async function func2() {
console.log("h2")
}
console.log("start")
setTimeout(() => {
console.log("Timeout")
}, 0)
new Promise((resolve) => {
console.log("promise")
resolve(1)
}).then(() => {
console.log("finish")
})
console.log("finish")
func1()
2. 数组去重的4种办法
3. 实现百度搜索框,防抖节流
4. 红包分配,每个人至少1分钱
全部评论
老哥问一下,这是面试的所有问题吗
,没有问项目吗
base是哪呀
相关推荐
03-14 11:58
门头沟学院 Java 点赞 评论 收藏
分享
点赞 评论 收藏
分享
点赞 评论 收藏
分享
点赞 评论 收藏
分享