diff options
Diffstat (limited to 'files/zh-tw/web/javascript/reference/classes/static/index.html')
-rw-r--r-- | files/zh-tw/web/javascript/reference/classes/static/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-tw/web/javascript/reference/classes/static/index.html b/files/zh-tw/web/javascript/reference/classes/static/index.html index de1ab29004..0e3eee7293 100644 --- a/files/zh-tw/web/javascript/reference/classes/static/index.html +++ b/files/zh-tw/web/javascript/reference/classes/static/index.html @@ -7,7 +7,7 @@ translation_of: Web/JavaScript/Reference/Classes/static <div>使用關鍵字 <strong>static </strong>來定義一個靜態的方法(method)給類別(class),靜態方法在由類別所建立的物件實體(instance)上不能被呼叫,取而代之的是,靜態方法只能由類別本身呼叫。他們通常作為工具函式(utility functions)使用。像是建立物件或複製物件的函式。</div> -<div></div> + <h2 id="語法">語法</h2> |