0
How to access key name in this array
2 Answers
+ 3
The Object.entries() method returns an array of a given object's own enumerable string-keyed property [key, value] pairs.
so u can use Object.entries() for it
or u can also use Object.keys() to access only keys
+ 2
details[0][0].name