---
title: "Discussion on \"Type error vs Reference error 😛\" | Hashnode"
description: "Discussion on \"Type error vs Reference error 😛\". Errors are one of my favorite topics because I always get them.\nType Error:\n\" can not read properties of undefined \"\n\nYes, it's always there whenever you try to access a variable or property which is undefined.\nSo what is that and why you are getting..."
url: "https://hashnode.com/posts/type-error-vs-reference-error/63ee697ac47c6d6f5608ef8a"
---

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

Discussion

# [Type error vs Reference error 😛](https://purvacodes.hashnode.dev/type-error-vs-reference-error?utm_source=hashnode&utm_medium=feed)

Errors are one of my favorite topics because I always get them. Type Error: " can not read properties of undefined " Yes, it's always there whenever you try to access a variable or property which is undefined. So what is that and why you are getting...

Feb 16, 2023 · 2 min read · purvacodes.hashnode.dev  
Read the article

-   [#error](https://hashnode.com/tag/error)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#types](https://hashnode.com/tag/types)
-   [#variables](https://hashnode.com/tag/variables)

## Written by

[Purva Rajyaguru](https://hashnode.com/@purva2803)

@purva2803 · home

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

I am a developer.

## Responses 1

Markdown supported · ⌘↵ to post

[Abin John](https://hashnode.com/@abinjohn)

[Feb 17, 2023](https://hashnode.com/posts/type-error-vs-reference-error/63ee697ac47c6d6f5608ef8a/comment/63ef09e646e2f1644c4f28da)

Keep them coming!
