---
title: "Discussion on \"I learned something new when reading Open Source JS Code\" | Hashnode"
description: "Discussion on \"I learned something new when reading Open Source JS Code\". Introduction\nWhen browsing Open Source code, I came across Object.defineProperty.\nIt reminded me of Proxies. However, it provides more fine-grained control over the properties of an object.\nExample from MDN\nconst object1 = {};\n\nObject.defineProperty(..."
url: "https://hashnode.com/posts/i-learned-something-new-when-reading-open-source-js-code/66425c64d834d506a9857862"
---

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

Discussion

# [I learned something new when reading Open Source JS Code](https://tigerabrodi.blog/i-learned-something-new-when-reading-open-source-js-code?utm_source=hashnode&utm_medium=feed)

Introduction When browsing Open Source code, I came across Object.defineProperty. It reminded me of Proxies. However, it provides more fine-grained control over the properties of an object. Example from MDN const object1 = {}; Object.defineProperty(...

May 13, 2024 · 3 min read · tigerabrodi.blog  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#opensource](https://hashnode.com/tag/opensource)

## Written by

[Tiger Abrodi](https://hashnode.com/@tigerabrodi)

@tigerabrodi · Germany

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

Obsessed with crafting software.

Just a guy who loves to write code and watch anime.

## Responses 1

Markdown supported · ⌘↵ to post

[Priya Raimagiya](https://hashnode.com/@priyaraimagiya123)

[May 14, 2024](https://hashnode.com/posts/i-learned-something-new-when-reading-open-source-js-code/66425c64d834d506a9857862/comment/66435867a9fc2e4f0d2614c9)

Great content. Thank you for sharing
