Object-Oriented JavaScript

Why Trust Techopedia

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

Margaret Rouse
Technology Expert
Margaret Rouse
Technology Expert

Margaret 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 IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.