I am using VS Code and running Javascript. Beside VS Code I have installed Node in my computer. I am using windows. I have csv
file in the same folder as my .js
file.
How do I save the content of the csv
file into an array?
Let's say my csv
file have this content and I want to store it as an array variable A
:
101,MS,100000
102,LS,80000
103,TS,60000
104,VB,200000
105,PB,180000
106,AB,160000