來看看ECMA 針對prototype 的說明, 原型prototype 是個存在於所有constructor 內的一個物件屬性,用於實現基於原型的繼承與屬性共享。 4.3.1 Objects Each constructor is ...
確定! 回上一頁