Skip to content

Commit 18e13c5

Browse files
committed
Anony-func
1 parent 2824c02 commit 18e13c5

File tree

1 file changed

+3
-3
lines changed
  • docs/2-browser-apps/04-anonymous-function

1 file changed

+3
-3
lines changed

docs/2-browser-apps/04-anonymous-function/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const students = ["Hazel", "Dorian", "Scarlett", "Daisy"];
133133

134134
:::
135135

136-
<Answer>
136+
<Answer type="箇条書き">
137137

138138
```javascript
139139
const students = ["Hazel", "Dorian", "Scarlett", "Daisy"];
@@ -162,7 +162,7 @@ if (/* すべての点数が 50 点以上なら */) {
162162

163163
:::
164164

165-
<Answer>
165+
<Answer type="進級可能?">
166166

167167
`Array#every` メソッドを使うと、配列の全要素が指定された関数でテストできます
168168

@@ -185,7 +185,7 @@ const minScore = scores.reduce(/* コールバック関数 */);
185185
document.write(minScore); // 55
186186
```
187187

188-
<Answer>
188+
<Answer type="Array#reduceの使い方">
189189

190190
```javascript
191191
const scores = [90, 65, 70, 55, 80];

0 commit comments

Comments
 (0)