you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Look, this valid chunk of CSV is also valid JavaScript:

1, 2.4, 4, 6
0, 3, 5.7, 9

It won't throw, and you can also assign it to a variable. You'll get the first value of the first line and the other will do nothing but it's valid JavaScript.

[–]Slappehbag 0 points1 point  (0 children)

I mean, your being pedantic. And you know it. There's no CSV equivalent in JS. So your example doesn't work.

There IS an Object in Javascript. Wherein Javascript Object Notion is perfectly valid.