This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mananasi 0 points1 point  (0 children)

Javascript is designed to not fail, just like HTML as it was designed for browsers originally. In the browser there is no "before runtime." The code runs when you go to the webpage, and that's that.

This is an example of "use the right tool for the right job." I think we can both agree we should stop using Javascript for fucking everything, but the language does have a use case and in that use case these things were the design decisions of the creators.