---
title: "Discussion on \"Reference Error: JavaScript\" | Hashnode"
description: "Discussion on \"Reference Error: JavaScript\". Errors about undeclared variable assignments occur in strict mode code only. In non-strict code, they are silently ignored."
url: "https://hashnode.com/posts/reference-error-javascript/65829e58cb1c670ab297ef20"
---

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

Discussion

# [Reference Error: JavaScript](https://saifsadiq.hashnode.dev/reference-error-javascript?utm_source=hashnode&utm_medium=feed)

Errors about undeclared variable assignments occur in strict mode code only. In non-strict code, they are silently ignored.

Dec 20, 2023 · 2 min read · saifsadiq.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#java](https://hashnode.com/tag/java)
-   [#javascript-framework](https://hashnode.com/tag/javascript-framework)
-   [#javascript-library](https://hashnode.com/tag/javascript-library)
-   [#javascript-modules](https://hashnode.com/tag/javascript-modules)

## Written by

[Saif Sadiq](https://hashnode.com/@saifsadiq1234)

@saifsadiq1234

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

Product Growth specialist

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
