寫一手漂亮的 JavaScript

介紹 看了很多best practice,卻沒有人教我怎麼去寫一手漂亮的js代碼,今天我來講講我自己寫js的經驗 不要在代碼中留大段註釋掉的代碼 // bad // function add() { //   const a = b + c //   return a // } function add() {  return a + 1000 } // good function add() {
相關文章
相關標籤/搜索