Practice · 3 of 3
CSV Export
CHALLENGE
Difficulty: intermediate+25 XP
Write toCsv(records, columns) that RETURNS a CSV string: the first line is columns joined by commas, then one line per record with the value for each column — an empty string when the record is missing that field. Numbers are stringified. No trailing newline.
Press Submit to check your solution.
Back to lesson: Practice: Mini Build: Data Explorer