User:Jeblad/Javascript and Mediawiki/Objects

Jump to navigation Jump to search

An Object in Javascript is often the actual higher order structure made by the Object constructor or the Object literal. As such it has the role of struct or class from other languages, but with function pointers and an inheritance mechanism. Because there is no clear distinction between a base object, later clones of the object, and objects used as libraries, it can be somewhat confusing to separate different use of objects.