When using get in an object like this, get works:
get
var people = { name: \"Alex\", get say
For example, use this:
function People2() { this.name = "Mike"; this.__defineGetter__("sayHi", function() { return `Hi, ${this.name}!`; }); };