回答編集履歴
2
文言
answer
CHANGED
@@ -4,4 +4,6 @@
|
|
4
4
|
> When jQuery calls a handler, the `this` keyword is a reference to the element where the event is being delivered;
|
5
5
|
|
6
6
|
[map()](https://api.jquery.com/map/#map-callback)
|
7
|
-
> Within the callback function, `this` refers to the current DOM element for each iteration.
|
7
|
+
> Within the callback function, `this` refers to the current DOM element for each iteration.
|
8
|
+
|
9
|
+
jQueryに関数を読んでもらっている限り、`this`の内容がjQueryが決めているもの以外になることはありません。(アロー関数や `bind()`した場合を除く)
|
1
文言
answer
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
|
1
|
+
jQueryのドキュメントに書いてあります。
|
2
2
|
|
3
3
|
[on()](https://api.jquery.com/on/)
|
4
|
-
> When jQuery calls a handler, the this keyword is a reference to the element where the event is being delivered;
|
4
|
+
> When jQuery calls a handler, the `this` keyword is a reference to the element where the event is being delivered;
|
5
5
|
|
6
6
|
[map()](https://api.jquery.com/map/#map-callback)
|
7
|
-
> Within the callback function, this refers to the current DOM element for each iteration.
|
7
|
+
> Within the callback function, `this` refers to the current DOM element for each iteration.
|