在JavaScript 中,有三種宣告變數的方式:. var; let (ES6+); const (ES6+). 在ES5 (含) 以前,宣告變數的保留字只有 var ,而沒有宣告常數的方式。但 var ...
確定! 回上一頁