Remove array entry

  let Index = MyArray.indexOf('somevalue')
  if (Index >= 0)
    MyArray.splice(Index, 1)