转载声明:文章来源https://www.nowcoder.com/feed/main/detail/77fc67f11ccf472bb130bdc12c88620d
1、自我介绍
2、围绕项目展开问了一些
3、代码输出题
const first = () =>
new Promise((resolve, reject) => {
console.log(3)
let p = new Promise((resolve, reject) => {
console.log(7)
setTimeout(() => {
console.log(5)
resolve(6)
}, 0)
resolve(1)
})
resolve(2)
p.then((arg) => {
console.log(arg)
})
})
first().then((arg) => {
console.log(arg)
})
console.log(4)
4、两个有序数组排序
5、如何更快的让用户看到渲染的页面
帖子还没人回复快来抢沙发