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.
(javascript object) if the next values greater of first value by 1 add the values in new object, if not, ignore the values
I have an object and a variable that represents 1
as a value. It can be more, for example: 1,2,3,4,5.....etc.