so, you see that you got 2 answers what all say:
saveTable(table, 'filename.csv', 'csv');
or
saveTable(table, 'filename.csv');
works,
using the online editor,
( i give you already the link to my test code)
but again minimal test what works:
let table = new p5.Table();
function setup() {
saveTable(table,'Memory','csv');
}
and in my case using win 10 / firefox browser
why you not just give us the link to your
project in the online editor so we can reproduce that error.