JS gets the first value of the object

JS gets the first value of the object (obj)

obj[Object.keys(obj)[0]]

Guess you like

Origin blog.csdn.net/weixin_42201180/article/details/107955884
Recommended