We define these function by prepending the this keyword which makes them accessible from the outside. Notice that the functions have full access to the properties. Sometimes encapsulation refers to ...
We define these function by prepending the this keyword which makes them accessible from the outside. Notice that the functions have full access to the properties. Sometimes encapsulation refers to ...