Skip to content
Advertisement

Javascript JSON with internal array

I have a JSON with internal arrays:

JavaScript

My code to write the table is:

JavaScript

But always run as undefined

Tabla

How to get internals values in array?

Advertisement

Answer

You could make things easier by pre-processing the data and making an array of objects with all properties (rows). Then, creating your table will become simpler:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement