---
title: "Discussion on \"An Introduction to JavaScript Getters and Setters 👓\" | Hashnode"
description: "Discussion on \"An Introduction to JavaScript Getters and Setters 👓\". Suppose we have a JavaScript Object, as we know a JavaScript object consists key-value pair. Now, there can be multiple instances where we need to pass values to the object from the outside and need to change the object value accordingly or there can..."
url: "https://hashnode.com/posts/an-introduction-to-javascript-getters-and-setters/5f11750a0736cb35b291fc95"
---

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

Discussion

# [An Introduction to JavaScript Getters and Setters 👓](https://blog.nemotivity.dev/an-introduction-to-javascript-getters-and-setters?utm_source=hashnode&utm_medium=feed)

Suppose we have a JavaScript Object, as we know a JavaScript object consists key-value pair. Now, there can be multiple instances where we need to pass values to the object from the outside and need to change the object value accordingly or there can...

Jul 17, 2020 · 4 min read · blog.nemotivity.dev  
Updated Aug 4, 2020  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#es6](https://hashnode.com/tag/es6)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#oops](https://hashnode.com/tag/oops)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Subha Chanda](https://hashnode.com/@nemo)

@nemo

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

Technical Writer | Developer

## Responses 1

Markdown supported · ⌘↵ to post

[Bolaji Ayodeji](https://hashnode.com/@bolajiayodeji)

[Jul 18, 2020](https://hashnode.com/posts/an-introduction-to-javascript-getters-and-setters/5f11750a0736cb35b291fc95/comment/5f12a866b8ea603b4afa18db)

Thanks for sharing this!
