回答編集履歴
1
chousei
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
]
|
16
16
|
|
17
|
-
quizData
|
17
|
+
quizData.forEach(x=>x.choices=x.choices.map(x=>[x,Math.random()]).sort((x,y)=>x[1]-y[1]).map(x=>x[0]));
|
18
18
|
|
19
19
|
console.log(quizData);
|
20
20
|
|