develwoutacause’s avatardevelwoutacause’s Twitter Archive—№ 476

  1. In today's #WTF #TypeScript, I present the following snippet, which compiles and runs without error, yet gives the complete wrong answer. Hint: Uint8Array does not extend ArrayBuffer.