回答編集履歴
1
初期値を変更
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
function* pickup (ary, n =
|
19
|
+
function* pickup (ary, n = 1, s = 0) {
|
20
20
|
|
21
21
|
let a = ary.flat (), i = s, len = a.length;
|
22
22
|
|