私の問題の解決策が見つかりません。私はおそらく物事をより複雑にしています。
ここに配列があります:
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"
手を貸してもらえますか?