skip to Main Content

“This” Property and Understanding It

When a function is created, a keyword called “this” is created which links to the object in which the function operates. Said another way, this is available to the scope of its function, yet is a reference to the object of which that function is a property/method. The this property is used in ‘this.gender’ simply refers to the object on which the function is operating.

Read More
Back To Top