1.

Which variables are used internally in object methods and are also globally visible?(a) Object properties(b) Variable properties(c) Method properties(d) Internal propertiesI have been asked this question in final exam.My query is from Augmentation of Classes topic in section Classes and Modules in JavaScript of JavaScript

Answer»

Correct choice is (b) VARIABLE PROPERTIES

The explanation is: The variable properties are usually VARIABLES that are used INTERNALLY in the object’s methods, but can also be globally visible variables that are used through the page.



Discussion

No Comment Found

Related InterviewSolutions