function init() { var number = 0; // Current quiz Number var aiu; // Questions read from "quiz.csv" function judge() { var q = csvquestion[39]; } fetch("./cafe-date-2.csv"). then(function(resp) { return resp.text().then(function(text) { aiu = new CSV(text, {header: true}).parse(); prepare(0); }); });