Removes value at index.
Alternatives: remove, remove$, removePath$.
Similar: get, set, remove.
This is part of package extra-array.
array.remove(x, i);
// x: an array
// i: index
const array = require("extra-array");
var x = [1, 2, 3, 4, 5];
array.remove(x, 2);
// [ 1, 2, 4, 5 ]