Typescript Insert Item Into Array Methods In Js By W3school