word: store data entries as prepared subarrays
[sheet.git] / word / quiz.js
index 0518fa14bdbc72c386f1b5abe4554c1f05d30965..b98842f18a074e0cc6643b4afe38f8ba6975e1a7 100644 (file)
@@ -26,7 +26,6 @@ class Quiz {
                        this.form = document.getElementById('quiz');
                        this.words = Object.values(json)
                                .sort(() => {return .5 - Math.random()}) // shuffle
-                               .map(row => row.split(/:/))
                        this.next();
                });
        }