---
title: "Discussion on \"Javascript errors: ReferenceError v/s TypeError\" | Hashnode"
description: "Discussion on \"Javascript errors: ReferenceError v/s TypeError\". Javascript errors\nA programmer has to write 1000s of lines of code and it is impossible to write 100% error-free code in one go. Even an expert developer also faces some unexpected errors and if we don't know what these errors are we'll have a hard t..."
url: "https://hashnode.com/posts/javascript-errors-referenceerror-vs-typeerror/63ea1fe563bc75e945b69a8e"
---

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

Discussion

# [Javascript errors: ReferenceError v/s TypeError](https://sanika.hashnode.dev/javascript-errors-referenceerror-vs-typeerror?utm_source=hashnode&utm_medium=feed)

Javascript errors A programmer has to write 1000s of lines of code and it is impossible to write 100% error-free code in one go. Even an expert developer also faces some unexpected errors and if we don't know what these errors are we'll have a hard t...

Feb 13, 2023 · 4 min read · sanika.hashnode.dev  
Read the article

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

## Written by

[Sanika Suryawanshi](https://hashnode.com/@sanika0305)

@sanika0305

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

## Responses 5

Markdown supported · ⌘↵ to post

[Anand Baraik](https://hashnode.com/@anandbaraik)

[Mar 14, 2023](https://hashnode.com/posts/javascript-errors-referenceerror-vs-typeerror/63ea1fe563bc75e945b69a8e/comment/6410823723ae346d7603f0bd)

very informative [Sanika Suryawanshi](https://hashnode.com/@sanika0305) 🎉🎉👏👏👏 great write up!

[Dushmanta](https://hashnode.com/@dushmanta)

[Feb 14, 2023](https://hashnode.com/posts/javascript-errors-referenceerror-vs-typeerror/63ea1fe563bc75e945b69a8e/comment/63eb8b852059e345a6cc11ed)

It's very useful to know while debugging.

[Gautam Balamurali](https://hashnode.com/@ashcod)

[Feb 14, 2023](https://hashnode.com/posts/javascript-errors-referenceerror-vs-typeerror/63ea1fe563bc75e945b69a8e/comment/63eb4a88ce792e42b746fa44)

great work Sanika!👍🏼

[Sanika Suryawanshi](https://hashnode.com/@sanika0305)

[Feb 14, 2023](https://hashnode.com/posts/javascript-errors-referenceerror-vs-typeerror/63ea1fe563bc75e945b69a8e/comment/63eb4a88ce792e42b746fa44#reply-63eb8d802059e345a6cc1243)

Thank you Gautam!

[Neelanjana](https://hashnode.com/@Neelanjana)

[Feb 13, 2023](https://hashnode.com/posts/javascript-errors-referenceerror-vs-typeerror/63ea1fe563bc75e945b69a8e/comment/63ea61893168a1345e695775)

It is very informative, proud of you. Keep growing.

[Sanika Suryawanshi](https://hashnode.com/@sanika0305)

[Feb 13, 2023](https://hashnode.com/posts/javascript-errors-referenceerror-vs-typeerror/63ea1fe563bc75e945b69a8e/comment/63ea61893168a1345e695775#reply-63ea626d3168a1345e69579e)

Thank you ❤️

[Salman Shaikh](https://hashnode.com/@Codersalman)

[Feb 13, 2023](https://hashnode.com/posts/javascript-errors-referenceerror-vs-typeerror/63ea1fe563bc75e945b69a8e/comment/63ea58e3a82b8f33f08691d3)

🎉🎉👏👏👏
