Getting Object Property Names
This question already has an answer here:
The Object.keys()
method seems to be what you are looking for if I understood correctly.
See How to list the properties of a JavaScript object as a possible answer.
链接地址: http://www.djcxy.com/p/27364.html下一篇: 获取对象属性名称