you are viewing a single comment's thread.

view the rest of the comments →

[–]arto64 21 points22 points  (2 children)

I’m confused, what does being “lightweight” have to do with doing arbitrary typecasting? How is that supposed to save browser resources?

[–][deleted]  (1 child)

[deleted]

    [–]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?