
執(zhí)行上下文js在執(zhí)行的過程中辜膝,會生成一個執(zhí)行上下文環(huán)境豹储。執(zhí)行上下文分為創(chuàng)建和執(zhí)行兩個階段疲迂。創(chuàng)建階段:定義js代碼中使用到的變量妹卿、函數(shù)等。此階段發(fā)...
參考文章:https://github.com/6fedcom/fe-blog/tree/master/webpack/webpack[http...
學(xué)習(xí)網(wǎng)站:https://developers.google.com/web/fundamentals/performance/renderin...
1、interface和type的區(qū)別 interface可定義多次,對象會被合并;type不允許重復(fù)定義 interface使用extends...
HTTP 發(fā)展史 http1.0中怜浅,每請求一個http請求都需要建立一次tcp連接,而tcp的三次握手和四次揮手相對比較耗時蔬崩,且會帶來1.5+2...
客戶端渲染(首屏在1.6s時出現(xiàn)) 服務(wù)端渲染(首屏在400ms時出現(xiàn)) 當(dāng)頁面加載的 js 和 css 更多更大時恶座,網(wǎng)路不夠流暢時,客戶端渲染...
https://github.com/tc39/proposal-top-level-await[https://github.com/tc39...
參考文檔:https://github.com/staven630/vue-cli4-config/tree/vue-cli3#hmr[http...
http 緩存通過對比F5和Ctrl+F5的區(qū)別來看請求頭配置對緩存的影響沪袭。image.pngimage.pngimage.pngimage.p...