我有 3 个数组
var city = [
['Kaunas', 54.896872,23.892426],
['Vilnius', 54.711136,25.280685],
['Klaipeda', 55.720149,21.131401],
['Utena', 55.536403,25.59494],
];
var lake = [
['Ezeras Bijote', 55.785092,23.062956],
['Ezeras Druksiai', 55.627996,26.565228],
['Ezeras Sartai', 55.804368,25.832863],
['Ezeras Metelys', 54.300299,23.767004],
];
var shop = [
['Kauno Akropolis', 54.891665,23.917744],
['Panorama', 54.709549,25.257454],
['Europa', 54.687514,25.262886],
['Ozas', 54.638628,25.135685],
];
我想将这 3 个数组添加到 1 个数组中,但不知道该怎么做,如果我可以像这样调用表单元素会非常好bigArr[city][1]
,,bigArr[shop][1]
bigArr[lake][1]