Purpose behind _setData(), _getData() functions

Purpose behind _setData(), _getData() functions


I'm trying to get my mind around getter/setter functionality. I
probably do not understand their purpose properly.
What is the exact difference between setting a property as:
this.someProperty = someValue; and setting it as: this._setData
('someProperty', someValue); What's the point in other words?