It's because it is not proven that element with the index 1 exists. Even TypeScript enforces bounds checking these days.
As for the first one - as i understand, this will spoil the original array, as it is assigned by reference; so by writing the string into `numbersOrStrings`, you also write it into `numbers`, thus violating the type.
In my experience this is one of the things Apple still has yet to perfect. I frequently have a problem of my mid-2012 MBP not wanting to wake up when I open the lid no matter how many times I close/open it. Often I have to do a hard reboot.
To Apple's credit, this is also still a problem with PC laptops from what I hear.
There's also Mailtrap http://mailtrap.io/ that prevents test emails from getting to real addresses, and collects them on a server where they could be viewed by every member of the team.
[1] https://mailtrap.io.