---
title: "What are the different types of errors in JavaScript?"  
description: "What are the different types of errors in JavaScript?"  
author: "Rahul Roi"  
published: 2021-03-16  
canonical: https://www.mindstick.com/interview/33788/what-are-the-different-types-of-errors-in-javascript  
category: "javascript"  
tags: ["javascript"]  
reading_time: 1 minute  

---

# What are the different types of errors in JavaScript?

These are three types of errors:

First **- Load time errors:** These types of errors that come up when loading a web page like improper syntax errors are known as Load time errors and it generates the errors dynamically.

Second **- Run time errors:** These types of errors come due to misuse of the command inside the HTML language.

Third **- Logical Errors:** These are the errors that occur due to the bad logic performed on a function which is having a different operation.

## Answers

### Answer by Rahul Roi

These are three types of errors:

First **- Load time errors:** These types of errors that come up when loading a web page like improper syntax errors are known as Load time errors and it generates the errors dynamically.

Second **- Run time errors:** These types of errors come due to misuse of the command inside the HTML language.

Third **- Logical Errors:** These are the errors that occur due to the bad logic performed on a function which is having a different operation.


---

Original Source: https://www.mindstick.com/interview/33788/what-are-the-different-types-of-errors-in-javascript

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
