获得徽章 7
- css样式中的背景图片 为什么nginx对所有图片设置Cache-Control: no-cache后,没有一直返回304 而是直接拿的缓存? 状态码 200 html插入图片不会这样赞过81
- Promise.resolve().then(() => {
console.log(0);
return Promise.resolve(4);
}).then((res) => {
console.log(res)
})
Promise.resolve().then(() => {
console.log(1);
}).then(() => {
console.log(2);
}).then(() => {
console.log(3);
}).then(() => {
console.log(5);
}).then(() =>{
console.log(6);
})
有懂的人讲一下为什么输出顺序是1,2,3,4,5,6吗?展开赞过81
![[送心]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_56.5777828.png)