Agregar getter a objeto javascript

Object.defineProperty(obj, 'valueName', {
	get: function () { return 5 }
});
MunchDuster