Student id:
GPA:
Exam Room:
Find courses at date:
Course code:
Result:
189314 chars, 3129 lines, 3129 students
function readData(file) {
console.log("readData "+file);
fetch(url+file)
.then(r => r.text(), report)
.then(addStudents, report);
}
function addStudents(txt) {
let msg = txt.length+" chars, ";
let a = txt.split("\n");
msg += a.length+" lines, ";
for (let s of a) {
let std = parseStudent(s);
keys.push(std.id); vals.push(std);
}
report(msg + keys.length+" students");
}