Typescript Remove Object From Array Javascript Documentation W3schools