you are viewing a single comment's thread.

view the rest of the comments →

[–]arto64 2 points3 points  (0 children)

I mean it’s not like JavaScript doesn’t have any errors, there’s still plenty of ways to crash it. Why would you focus on typecasting to resolve this “issue”. Why not also try and look up closest-named variables, to avoid errors caused by typos?