Published
- 1 min read
javascript object get element by index
The solution for this is noted below
javascript object get element by index
Solution
myobj[Object.keys(myobj)[0]]
Try other methods by searching on the site. That is if this doesn’t work