Home > front end >  Object. The keys and Object. Use values
Object. The keys and Object. Use values

Time:02-06

Let the test=[{" num ": [{" 0" : 100}, {" 1 ": 200}, {" 2" : 300}]}].
With the Object. The keys and Object. How will the above data values out?

CodePudding user response:

Object. The keys and Object. The values are applied to a single Object,
For you such multiple nested structure Object. The Object array keys and Object. The values are not applicable,
You need to use cycle recursion even take data,
  • Related