Object-Oriented JavaScript

What Does Object-Oriented JavaScript Mean?

Object-oriented JavaScript is a type of object-oriented programming language (OOPL) that utilizes most of the object-oriented design and programming techniques within JavaScript-based programs and applications. It incorporates features and capabilities from an OOP context, but differently than standard OOP languages.

Advertisements

Techopedia Explains Object-Oriented JavaScript

Unlike other OOPLs, object-oriented JavaScript is prototype-based and does not utilize and support class statements. In turn, functions are used as a means to represent a class. New objects are derived by using a prototyping technique and by calling the object’s native constructor.

In most object-oriented languages, objects are derived from a class. Vehicle, which is a class in most other languages, is an object in object-oriented JavaScript. The other derivatives – such as car, truck and tractor – are prototypes of the object vehicle that are created by calling the vehicle method.

Advertisements

Related Terms

Latest DevOps Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…