SOURCE
JavaScript
Result
var arr = ['a','b','c','d']; arr.splice($.inArray('c',arr),1); console.log(arr);
console 命令行工具
X
clear
>
console