This is the source code for my Node.js import data from a CSV. This is a very nice companion piece to my How to return a CSV from ASP.NET Web API using C# article using C#.
If you're looking for information about JavaScript arrays I've compiled an entire page dedicated with over 10 different examples that will considerably improve your skills with Javascript arrays.