---
title: "Discussion on \"Object.freeze() in JavaScript\" | Hashnode"
description: "Discussion on \"Object.freeze() in JavaScript\". Many of us have the same doubts regarding \"How Object.freeze() method works in JavaScript?\" 🤔\nIsn't it? 🙄\nA couple of days back, I received a Developer Newsletter email from Auth0 & got to know about the November Coding Challenge (will share the ch..."
url: "https://hashnode.com/posts/objectfreeze-in-javascript/5fad8f598f0a0265534791cd"
---

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

Discussion

# [Object.freeze() in JavaScript](https://iamdarshshah.hashnode.dev/objectfreeze-in-javascript?utm_source=hashnode&utm_medium=feed)

Many of us have the same doubts regarding "How Object.freeze() method works in JavaScript?" 🤔 Isn't it? 🙄 A couple of days back, I received a Developer Newsletter email from Auth0 & got to know about the November Coding Challenge (will share the ch...

Nov 12, 2020 · 3 min read · iamdarshshah.hashnode.dev  
Read the article

-   [#hashnodebootcamp](https://hashnode.com/tag/hashnodebootcamp)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#hashnode](https://hashnode.com/tag/hashnode)

## Written by

[Darsh Shah](https://hashnode.com/@iamdarshshah)

@iamdarshshah · Gujarat, India

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

Software Developer | Auth0 Ambassador | Postman Student Expert | Blogger | Public Speaker

Software Developer | Auth0 Ambassador | Postman Student Expert | Blogger | Public Speaker

## Responses 1

Markdown supported · ⌘↵ to post

[Dinys Monvoisin](https://hashnode.com/@dinmon)

[Nov 13, 2020](https://hashnode.com/posts/objectfreeze-in-javascript/5fad8f598f0a0265534791cd/comment/5fade4d9fa438d6532c7ea3f)

Hope that none of your Halloween frights were related to passwords

[Darsh Shah](https://hashnode.com/@iamdarshshah)

[Nov 13, 2020](https://hashnode.com/posts/objectfreeze-in-javascript/5fad8f598f0a0265534791cd/comment/5fade4d9fa438d6532c7ea3f#reply-5fae1bc7fa438d6532c7ec47)

That's Correct! Great [Dinys Monvoisin](https://hashnode.com/@dinmon) 🥳

Hope this was helpful to you 😄

[Dinys Monvoisin](https://hashnode.com/@dinmon)

[Nov 13, 2020](https://hashnode.com/posts/objectfreeze-in-javascript/5fad8f598f0a0265534791cd/comment/5fade4d9fa438d6532c7ea3f#reply-5fae2fe38f0a02655347974c)

I guess to improve your article; you could include when should you use Object.freeze().

I know that you did it for the challenge but offer the reader a different perspective or more value I would say.

[Darsh Shah](https://hashnode.com/@iamdarshshah)

[Nov 13, 2020](https://hashnode.com/posts/objectfreeze-in-javascript/5fad8f598f0a0265534791cd/comment/5fade4d9fa438d6532c7ea3f#reply-5fae5a07fa438d6532c7ef1b)

[Dinys Monvoisin](https://hashnode.com/@dinmon) thanks for your honest feedback. I wrote this blog because this is something I was confused about while attempting that challenge.

I totally agreed with what you said, will definitely add more values to the coming blogs/articles.

(P.S The purpose behind writing this blog was to make fellow developers aware of how Object.freeze() method works & this was never part of the challenge.)

Thanks again for the advice👍
