回答編集履歴

3

テキスト追加

2020/04/09 23:03

投稿

jun68ykt
jun68ykt

スコア9058

test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  score: +this.find('td:nth-of-type(3)').text()
26
26
 
27
- }
27
+ };
28
28
 
29
29
  }
30
30
 

2

テキスト追加

2020/04/09 23:03

投稿

jun68ykt
jun68ykt

スコア9058

test CHANGED
@@ -20,9 +20,9 @@
20
20
 
21
21
  return {
22
22
 
23
- score: +this.find('td:nth-of-type(3)').text(),
23
+ name: this.find('td:nth-of-type(2)').text(),
24
24
 
25
- name: this.find('td:nth-of-type(2)').text()
25
+ score: +this.find('td:nth-of-type(3)').text()
26
26
 
27
27
  }
28
28
 

1

テキスト追加

2020/04/09 10:04

投稿

jun68ykt
jun68ykt

スコア9058

test CHANGED
@@ -72,9 +72,7 @@
72
72
 
73
73
  result.highest = { name, score };
74
74
 
75
- }
76
-
77
- if (score < result.lowest.score) {
75
+ } else if (score < result.lowest.score) {
78
76
 
79
77
  result.lowest = { name, score };
80
78