标签: javascript function parameters
“ index [”是什么意思?
为什么要这样?
arr.splice(index[, deleteCount, elem1, ..., elemN])
也许这更好?
arr.splice(index, deleteCount, [elem1, ..., elemN])