Understand Error Messages in JavaScript Programming


show more Error messages are an effective mechanism for identifying problems in code that hinder proper and accurate execution. The Foundations of Programming Fundamentsl video covers the various error messages used by popular web browsers, as well as how to use such messages to identify and fix bugs in software and web applications while using JavaScript. show less
please wait ...

Understanding error messages

Most programming languages will end up bombarding you with error messages when you're writing your code. This might be annoying, but you actually want this. You want it to tell you what's wrong. JavaScript is one of the few areas where we don't get automatically bombarded with error messages about syntax and that's because of the nature of where it's used. If you have errors in your JavaScript and I'm looking at script with exactly the same problem here, it's not showing up by default in the web browser, because you don't really want every user who is on your website seeing all the errors you might have accidentally put into your code.

So most browsers do realize when there are errors in JavaScript, but they hide them from you. We have to tell the browser we want to see the errors. Now, each web browser does this a bit differently, but what I'm about to show you does have its equivalent in Internet Explorer, Safari, Opera, Konqueror, all modern web brows...

Understanding error messages
Video duration: 3m 21s 4h 47m Beginner

Viewers:

Error messages are an effective mechanism for identifying problems in code that hinder proper and accurate execution. The Foundations of Programming Fundamentsl video covers the various error messages used by popular web browsers, as well as how to use such messages to identify and fix bugs in software and web applications while using JavaScript.

Subjects:
Developer Web
Author:
please wait ...