Hi guys so I am trying to set up a little survey app, I am now building my survey result page, which will display the results of a given survey. The data that I am fetching is an object containing an array of object with arrays inside them.
totalAnswers: [ { answers: [answer0, answer1, answer2, answer3] }, { answers: [Array] }, ... ]
I am wondering how to display the data since all the objects keys are all the same, but the arrays also all have the same length... Any leads are welcomed :)
I think that merging all the arrays together would be a bit too messy, it would be nice to be able to to group all the arrays index values together so that data would be readable
Via Active questions tagged javascript - Stack Overflow https://ift.tt/UcOR3g4
Comments
Post a Comment