在ES6 中可使用關鍵字 class 和 constructor(self) : ... 可以透過 get 設定;setter method 則是可以透過 = 來對物件賦值,可以使用 set 來設定:.
確定! 回上一頁