---
title: "Discussion on \"JS Debugging 101: Differentiating TypeError and ReferenceError\" | Hashnode"
description: "Discussion on \"JS Debugging 101: Differentiating TypeError and ReferenceError\". \"Errors come in all shapes and sizes, but at the end of the day, they all mean the same thing - time for some debugging!\"\n\nA ReferenceError in JavaScript is when you try to use a variable or a function that hasn't been declared or defined yet.\nThink ..."
url: "https://hashnode.com/posts/js-debugging-101-differentiating-typeerror-and-referenceerror/63eac516cd3f9873da93dd57"
---

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

Discussion

# [JS Debugging 101: Differentiating TypeError and ReferenceError](https://shushma.hashnode.dev/js-debugging-101-differentiating-typeerror-and-referenceerror?utm_source=hashnode&utm_medium=feed)

"Errors come in all shapes and sizes, but at the end of the day, they all mean the same thing - time for some debugging!" A ReferenceError in JavaScript is when you try to use a variable or a function that hasn't been declared or defined yet. Think ...

Feb 13, 2023 · 3 min read · shushma.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#error](https://hashnode.com/tag/error)
-   [#refrenceerror](https://hashnode.com/tag/refrenceerror)
-   [#typeerror](https://hashnode.com/tag/typeerror)
-   [#debugging](https://hashnode.com/tag/debugging)

## Written by

[Shushma Muniraj](https://hashnode.com/@Shushma)

@Shushma

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

The web is my playing field

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
