import console; var str1='a'; var arr1={'b'} //数组追加,要求两个参数必须为table table.append(arr1,{str1});// console.dump(arr1); //{'b','a'} //插入数据 var str2='c'; var arr2={'d'} table.insert(arr2,str2); console.dump(arr2); //{'c','d'} //合并数据 var str3='e'; var str4='f'; var str=str3+str4; console.dump(str) //ef var table1={'g'} var table2={'h'} var tab=table.concat(table1,table2); console.dump(tab) //{'g','h'} //尾部追加 var tab={'a';'b'} table.push(tab,'c'); console.dump(tab); //{'a';'b';'c'} table.push(tab,{'d';'e'}); console.dump(tab); //{'a';'b';'c';{'d';'e'}} console.pause()