From d9247fba6815cc11d44e0c7c59c69157c830c467 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Thu, 16 Sep 2021 23:57:54 +0900 Subject: Web/JavaScript 以下の文書内のリンクURLを正規化 (#2354) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正 --- .../ja/web/javascript/reference/classes/public_class_fields/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/ja/web/javascript/reference/classes/public_class_fields') diff --git a/files/ja/web/javascript/reference/classes/public_class_fields/index.html b/files/ja/web/javascript/reference/classes/public_class_fields/index.html index 18614027ce..b4dcd87d5c 100644 --- a/files/ja/web/javascript/reference/classes/public_class_fields/index.html +++ b/files/ja/web/javascript/reference/classes/public_class_fields/index.html @@ -217,7 +217,7 @@ console.log(instance.subPublicMethod()) // expected output: "hello worl​d" -

ゲッターとセッターは、クラスのプロパティにバインドする特別なメソッドで、そのプロパティがアクセスされたり設定されたりしたときに呼び出されます。get および set 構文を使用して、パブリックインスタンスのゲッターまたはセッターを宣言します。

+

ゲッターとセッターは、クラスのプロパティにバインドする特別なメソッドで、そのプロパティがアクセスされたり設定されたりしたときに呼び出されます。get および set 構文を使用して、パブリックインスタンスのゲッターまたはセッターを宣言します。

class ClassWithGetSet {
   #msg = 'hello world'
-- 
cgit v1.2.3-54-g00ecf