Removes an element from an array by its index in the array.
The index of the item to remove
The new array resulting from the removal of the index item
const original = ['a', 'b'];const result = remove(original, 1);console.log(result);['a'] Copy
const original = ['a', 'b'];const result = remove(original, 1);console.log(result);['a']
Generated using TypeDoc
Removes an element from an array by its index in the array.