ES6 class. JavaScript 在ECMAScript 6 (ES6) 之前並沒有class 的語法,而是會透過函式構造函式建立物件,並再通過new 關鍵字實例。 在ES6 時引入了class 的 ...
確定! 回上一頁