Skip to content
Advertisement

How can I store a huge list into a csv file?

For example:

JavaScript

How can I combine each three of the data to match the header?

Expected output:

output

Advertisement

Answer

Here’s how you can do this.

JavaScript

Here’s the screenshot of ‘testing.csv’:

enter image description here

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement