[Solved] Javascript JSON array of objects to HTML table
[ad_1] The order is wrong. out is an object of arrays (not an array of objects). Here I fixed the order of access with the assumption, that all properties contain an array with the same length: function fetch() { return Promise.resolve({ json() { return Promise.resolve({ “name”: [ “John”, “Marie”, “Clara” ], “surname”: [ “Doe”, “Jane”, … Read more