InterviewSolution
Saved Bookmarks
| 1. |
The keyword or the property that you use to refer to an object through which they were invoked is _________(a) from(b) to(c) this(d) objectThis question was addressed to me by my school principal while I was bunking the class.Enquiry is from Classes in JavaScript topic in chapter Classes and Modules in JavaScript of JavaScript |
|
Answer» RIGHT CHOICE is (c) this To explain I WOULD say: ‘this’ KEYWORD is used to refer to the object through which the properties or methods were invoked. This use of ‘this’ is a fundamental characteristic of the methods of any class. |
|