解决方法
你要么需要一个阵列……
var data = {}; data['key'] = ['val1','val2']; // store an Array at data.key data.key[0]; // 'val1'
…或对象中的值的键…
var data = {}; data['key'] = {key1:'val1',key2:'val2'}; // store an Object at data.key data.key.key1; // 'val1'