How can I create a 2d array out of a normal array through splitting each element (in javascript)
I have got a very large string, it contains about 13000 times different data of the same kind. I have now created a function to split this string into an array of 13000 elements. Now each element of those 13000…