A look into Getters and Setters in JavaScript
August 8, 2019 — There are always multiple ways of doing things. Programming is no different. For instance, in JavaScript, what would you do if you want to get the property of an object running some operation before returning it? Take this example.