var arr = {'abc','def','ghi'};
我想通过使用索引去除上面的数组值’def’。
ArrayName.splice(indexValueOfArray,1);
1 //从indexValueOfArray中移除1个项目。