---
title: "Discussion on \"Using getters and setters Part 3\" | Hashnode"
description: "Discussion on \"Using getters and setters Part 3\". Defining a property to an object using Object.defineProperty()"
url: "https://hashnode.com/posts/using-getters-and-setters-part-3/66c97d861960c5db4a0f3d53"
---

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

Discussion

# [Using getters and setters Part 3](https://alpinejs.in/using-getters-and-setters-part-3?utm_source=hashnode&utm_medium=feed)

Defining a property to an object using Object.defineProperty()

Aug 24, 2024 · 2 min read · alpinejs.in  
Read the article

-   [#getter-and-setter](https://hashnode.com/tag/getter-and-setter)
-   [#alpinejs](https://hashnode.com/tag/alpinejs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#objects](https://hashnode.com/tag/objects)
-   [#property](https://hashnode.com/tag/property)

## Written by

[Anjanesh Lekshminarayanan](https://hashnode.com/@anjanesh)

@anjanesh · Navi Mumbai, MH

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

Web UI Engineer

I am a web consultant from Navi Mumbai. Mainly dealt with LAMP stack, now into Django and getting into Laravel and Cloud. Founder of nerul.in and gaali.in

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
