Javascript array destructuring second value is undefined when calling methods
I’m currently doing part 2 of the first Advent of Code problem this year, and I’m trying to create an array of arrays which contain a set of the integers in the first column at index zero, and an array of the integers in the second column at index one, for each row of the data. I’ve included an example of what the data looks like as a string because I’m reading from a file.