回答編集履歴
2
テキスト修正
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
```javascript
|
6
6
|
|
7
|
-
const round =
|
7
|
+
const round = n => (m => m * Math.round(n / m))(10 ** (`${n}`.length - 1))
|
8
8
|
|
9
9
|
|
10
10
|
|
1
テキスト修正
test
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
- **動作確認用 CodePen:** [https://codepen.io/jun68ykt/pen/PoYvqxX?editors=001
|
25
|
+
- **動作確認用 CodePen:** [https://codepen.io/jun68ykt/pen/PoYvqxX?editors=0012](https://codepen.io/jun68ykt/pen/PoYvqxX?editors=0012)
|
26
26
|
|
27
27
|
|
28
28
|
|