I\'m trying to parse a string from JSON and turn those elements into an array in Javascript. Here\'s the code.
var data = \"{\"fname\":\"Todd\",\"lname
Something like this. Is that trailing comma intentional?
var getDayArray = JSON.parse(data).day0.split(",")