小鹅通 前端实习一面
1.问项目,挖的挺深的。
2.vue2,3响应式区别
3.promise介绍
4.事件循环
5.两道题(口述了两遍,应该是这样的):
// 输出结果
new Promise((resolve, rejected) => {
throw new Error("err");
})
.then((res) => {
console.log(1,res);
})
.catch((err) => {
console.log(2,err);
})
.then((res) => {
console.log(3,res);
})
.catch((err) => {
console.log(4,err);
});
// 执行顺序
const p = document.createElement("p");
const body = document.querySelector('body')
p.innerHTML = "p";
console.log(1);
setTimeout(() => {
console.log(2);
}, 0);
new Promise((resolve) => {
console.log(3);
resolve()
}).then((res) => {
console.log(4);
});
body.appendChild(p);
6.地址栏输入url按回车发生什么
7.页面白屏怎么办(她想要的答案是根据上面这题得出的,我也没明白她想要什么样的回答)
反问:
实习生负责什么工作:她从介绍部门、业务开始,说了好久感觉有七八分钟的样子。
面试官是个小姐姐,说话逻辑性特别强,一股强者的气息。

查看15道真题和解析