cp_array_remove_by_index

cp_array_remove_by_index

by bryiantan

JavaScript

function removeArray(x, n){
  x.splice(n, 1);
  return x;
}
alert(removeArray([20,11,12,13,14], 1));