File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/2-browser-apps/04-class Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,9 @@ class Student {
8989}
9090```
9191
92- <Term type =" javascriptClass " >クラス</Term >自体は単なる設計図でしかないため、実際の<Term type =" javascriptObject " >オブジェクト</Term >が存在するわけではありません。そこで、<Term type =" javascriptMethod " >メソッド</Term >内では、設計図から作成された<Term type =" javascriptInstance " >インスタンス</Term >自身を指す特殊な変数 ` this ` が使用できます。
92+ <p >< Term type =" javascriptClass " >クラス</Term >自体は単なる設計図でしかないため、実際の<Term type =" javascriptObject " >オブジェクト</Term >が存在するわけではありません。そこで、<Term type =" javascriptMethod " >メソッド</Term >内では、設計図から作成された<Term type =" javascriptInstance " >インスタンス</Term >自身を指す特殊な変数 < code > this</ code > が使用できます。</ p >
9393
94- <Term type =" javascriptMethod " >メソッド</Term >を使用するには、<Term type =" javascriptProperty " >プロパティ</Term >へのアクセス時と同じく、<Term type =" javascriptInstance " >インスタンス</Term >に対して ` . ` (ドット)記号を用います。
94+ <p >< Term type =" javascriptMethod " >メソッド</Term >を使用するには、<Term type =" javascriptProperty " >プロパティ</Term >へのアクセス時と同じく、<Term type =" javascriptInstance " >インスタンス</Term >に対して < code >.</ code > (ドット)記号を用います。</ p >
9595
9696``` javascript
9797const tanaka = new Student ();
You can’t perform that action at this time.
0 commit comments