Typescript Remove Element From Array Javascript Methods W3schools