The array of interest.
The index of the value to remove. Negative values are taken as an offset from the end of the array.
The value at the specified index, or undefined if the
index is out of range.
Linear.
An index which is non-integral.
import { ArrayExt } from '@lumino/algorithm';
let data = [0, 12, 23, 39, 14, 12, 75];
ArrayExt.removeAt(data, 2); // 23
ArrayExt.removeAt(data, -2); // 12
ArrayExt.removeAt(data, 10); // undefined;
Remove and return a value at a specific index in an array.