What is containership?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is containership?
Rating:
Containership can also be called containment hierarchy. In the JavaScript object hierarchy, the window object is at the topmost level. Hence, the reference to this object is usually omitted.
For example:
Objects such as document, location, etc., are child objects of the window object. Since the window object is at the topmost level, it is not necessary for the child objects to refer to the window object. Some objects such as buttons are form elements. Without referencing the form object, the form elements will not work.
For example:
Rating:
Was this information helpful?
Other articles
- What is the checked property?
- How to use the blur() method?
- What is the hostname property of the server object?
- What is the links object?
- What is the closed property?