This post was written by a student at the University of St. Francis in St. Augustine, FL. The main point is that we are what we can observe.
Every time you go to the page, check your browser console and type try catch, you will discover that it has a lot of bugs. There are all kinds of strange issues, like the fact that it doesn’t have any support for IE6 and 7, or that when you put a breakpoint on try catch, your code is still running and will never stop.
The best way to get your code to stop running is to put a breakpoint on a line you know is still running.
You can run a script in your browser in a few seconds. As a rule of thumb, if you ever need to run a script in your browser, you could do it in a few seconds.
In the same way, if you need to run a script in your browser right now, you can run it right now. You don’t even need to install any new dependencies for it to work.
With that in mind, I thought I would be a little more careful with the scripts I run. I would be more careful with my scripts like this because it is so important to me that you run the scripts like this.
In fact, I usually add a little comment (or comment block) just before the closing body tags (or in the html) so that when I run the script, I know what it does. For example, this is a comment that will run every time a script is called.