Hello everyone, I hope you all are doing great. In this blog we will discuss about different errors in javascript and what they mean. so, let’s get started.

What is an error ?

Errors are statements that don’t let the program run properly. There are three main types of errors that can occur while compiling a JavaScript program:

Let us explore types of errors :


here ‘s’ is the unexpected identifier.







EvalError and InternalError are not thrown in modern JavaScript.

I hope now you understand what these errors actually mean.

Share your feedback in the comment about the blog.

Have a nice day!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store