我找不到我的问题的解决方案。我可能会让事情变得更复杂。
这是数组:
var Statistics = {
"STAT 1 COLUMNS" : ["Date","Group Name","Product Name","Version","Version Date","Status","Total","Total L0","Total L1","Total L2","To be validated","Created","Updated"],
"STAT 2 TITLE" : ["12/12/2013","Led Zeppelin","roofies","V5.3","2013-08-13 ","ACCEPTED <br/>(2013-9-10)","774","334","3","437","20","57","102"],
"STAT 3 TITLE" : ["22/11/2014","Deep Purple","upper","V1","2006-01-01 "," ","3","1","0","2","1"," "," "],
...
}
我想通过指定索引来获取特定对象的对象名称(例如'STAT 1 COLUMNS'、'STAT 2 TITLE'、'STAT 3 TITLE'..)。
例如,请给我对象的名称('2') -> "STAT 3 TITLE"
你能帮帮我吗?