I wonder what the web would look like today if JavaScript had been created to error when operating on incompatible types or attempting to access nonexistent array/object items

Hey! I'm Lemma, and I'm a chubby queer robot VTuber who both makes and plays games on stream! I also occasionally write short stories and tinker with other projects, so keep an eye out! See you around~
Chubbyposting and IRL NSFW alt: @cuddlebot
name-color: #39B366
I wonder what the web would look like today if JavaScript had been created to error when operating on incompatible types or attempting to access nonexistent array/object items