Code must be as clean and easy to read as possible , best practice also can avoid error — JS 是一個自由的語言,一個人開發時要怎麼寫都可以!但當團隊越來越大就需要一套 Best Practice 來規範大家的程式碼讓團隊更好合作,並減少出錯的機會。當然每個團隊的 Best Practice 都不一樣,但此篇會以比較 general 的角度來建議~ Using JavaScript Code Styling A style guide contains general rules about “h …