getters and setters in JavaScript | explained in-depth 