質問編集履歴

1

誤字の修正

2019/12/25 05:02

投稿

toromou
toromou

スコア30

test CHANGED
File without changes
test CHANGED
@@ -14,9 +14,9 @@
14
14
 
15
15
  $target.each((index, elm) => {
16
16
 
17
- const thisDM = $(elm).text();
17
+ const text = $(elm).text();
18
18
 
19
- if (thisDM === list[i]) {
19
+ if (text === list[i]) {
20
20
 
21
21
  result = index;
22
22
 
@@ -50,9 +50,9 @@
50
50
 
51
51
  $target.each((index, elm) => {
52
52
 
53
- const thisDM = $(elm).text();
53
+ const text = $(elm).text();
54
54
 
55
- if (thisDM === list[i]) {
55
+ if (text === list[i]) {
56
56
 
57
57
  result = index;
58
58