Understanding use getters and setters to Control Access to an Object

Welcome, @spelca676! The post I referenced is: ES6 for beginners, free course (work in progress)

Cheers!