shabashj
4/26/2015 - 12:04 PM

From http://stackoverflow.com/questions/5767325/remove-specific-element-from-an-array Remove specific element from an array

if (index > -1) {
    array.splice(index, 1);
}