重新定位列表中的项目
答
只是保存在变量中的一个项目,你覆盖它之前:
var temp = list[1];
list[1] = list[3];
list[3] = temp;