Relative Content

Tag Archive for javascriptarraysobject

Is there a way to access a nested array property with space in b/w?

I created this nested Array as practice work. In the second object of the nestedArr(which is the first in array understanding), I used space in between the property name ‘items list’ to store the data. I have tried to access data from the items lists array but, I keep having problem. can someone please help out with a hint.

Iterate Nested Object based on each Index

Below “NodeClassification” having nested object in each object having there item objects which I need to break this to form array of object. Result of array of object as shown below to from a structure with new key & existing values.