旅程來到了第 10 天,這趟旅程真的有點硬啊…不過每天只要花一點點時間,就能讓逐漸讓自己變強,這樣的感覺是不是很棒呢?
昨天 聊了 HTML 控制 JavaScript 載入順序的方法,設定得宜可以提升不少效能;那麼今天就來聊聊可能造成 CSS 影響效能的其中兩位兇手:回流(Reflow)&…
相信大家在初學 JavaScript 時,一定有人跟你說過:「比較時記得要用三等號(===),不要用雙等號(==)」,但你知道為什麼嗎?稍微有經驗的人可能馬上想到了,因為使用雙等號比較時,JavaScript 會做…
相信稍有經驗的開發者多少都看過這題了,應該是彈指之間便能輕鬆解決;但初步接觸 JavaScript 的朋友,可能會撰寫出類似下面範例的程式碼:
在網站開發中,非同步的議題是所有站台必然需要處理的一環,也因為前端框架的興起,透過框架實現的 SPA 已經是現代快速建構網站的標配了,非同步取得資料也就成了不可或缺的一環;今天就讓我們一起來看看 JavaScript…
在 前天的文章 中,我們討論了 JavaScript…
在前端工程師的日常中,使用元素選取器是稀鬆平常的事情;無論你是撰寫一般的 CSS,或是需要過編譯的 SASS、SCSS、LESS,最終都仍會被編譯成一行一行的 CSS…
今天是本系列進入 JavaScript 主題的第一天,那麼就先寫個 前陣子面試 時遇到的快速排序法吧!
These were the top 10 stories published by Schaos’s Blog in September of 2019. You can also dive into daily archives for September of 2019 by using the calendar at the top of this page.