---
title: "Discussion on \"ReferenceError vs TypeError In JavaScript\" | Hashnode"
description: "Discussion on \"ReferenceError vs TypeError In JavaScript\". while writing a javaScript code we often come across two errors i.e ReferenceError and type Error in our console.\n\n\nLet's try to understand when these two error occurs individually.\nReferenceError\nLet's try to decode the name of an error. Reference m..."
url: "https://hashnode.com/posts/referenceerror-vs-typeerror-in-javascript/63e8d03d6ea893304e742835"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [ReferenceError vs TypeError In JavaScript](https://abdulkadir18apr.hashnode.dev/referenceerror-vs-typeerror-in-javascript?utm_source=hashnode&utm_medium=feed)

while writing a javaScript code we often come across two errors i.e ReferenceError and type Error in our console. Let's try to understand when these two error occurs individually. ReferenceError Let's try to decode the name of an error. Reference m...

Feb 12, 2023 · 2 min read · abdulkadir18apr.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#coding](https://hashnode.com/tag/coding)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#error-handling](https://hashnode.com/tag/error-handling)

## Written by

[Abdul Kadir](https://hashnode.com/@abdulkadir18apr)

@abdulkadir18apr · India

  
[View profile](https://hashnode.com/@abdulkadir18apr)

Tech Enthusiast

## Responses 1

Markdown supported · ⌘↵ to post

[Aditya Tiwari](https://hashnode.com/@namedaditya)

[Feb 12, 2023](https://hashnode.com/posts/referenceerror-vs-typeerror-in-javascript/63e8d03d6ea893304e742835/comment/63e90139861f30240f6e007c)

nice article buddy
