// public/url.jsvar host = window.location.origin;var ip = window.locati...
執(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...
學習網(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)) 當頁面加載的 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...