Typescript Array Remove Element By Id Javascript W3schools