私はこのオブジェクトを持っています:
var sub = {
0: [""],
21: ["Look, here, are three little stuff,","ready to sing for this crowd"],
28: ["Listen up, 'cause here's our story","I'm gonna sing it very LOUUU..."],
36: [""],
45: ["VERY LOUUU..."],
48: [""],
61: ["When you're a younger stuff","and your stuff is very bare"],
68: ["Feels like the sun will never come","when your stuff's not there"],
74: ["So the three of us will fight the fight","there is nothing that we fear"],
80: ["We'll have to figure out what we'll do next","till our stuff is here!"],
87: ["We are the guys","on a quest to find out who we are"],
94: ["And we will never stop the journey","not until we have our stuff"],
101:[""],
106:["(stuff...)"],
}
//I like stuff.
そして、次のように、すべての変数名を配列に取得したいと思います。
variables == [0, 21, 28, 36, 45, 48, 61, 68, 74, 80, 87, 94, 101, 106, 109];
このための組み込み関数はありますか、それとも JSON オブジェクト変数を反復することは可能ですか?