Getters and Setters

The properties we have been working with so far are known as data properties. These are the properties where we give them a name and assign a value to them:


This is a companion discussion topic for the original entry at https://www.kirupa.com/javascript/getters_setters.htm

Nice summary article. Your readers should find i it very useful.

1 Like

Thanks! You can credit @senocular for making me write it as part of addressing feedback on the upcoming edition of the JavaScript: A Beginner’s Guide :desert_island:

1 Like