すべての hmAtKeys を 1 つのタイプの hmFeeTypeAttKey の下に配置して、後で hmAtKeys を参照するときに個別に出力されるようにしたいのですが、正しい構文がわかりません。私も試しhmFeeTypeAttKey[0] = [13,3,11,12]
ました。助言がありますか?
hmAttKeys=[]
hmAttKeys[13]="/red";
hmAttKeys[3]="/blue";
hmAttKeys[11]="/green";
hmAttKeys[12]="/yellow";
var hmFeeTypeAttKey = [];
hmFeeTypeAttKey[0] = [13][3][11][12];
hmAttKeys[hmFeeTypeIndex[0]]