0
JavaScript is an established language but it only added support for classic object-oriented programming (OOP) in ES6. Until it added features like class declarations, JavaScript handled OOP using a lesser-known prototype-based paradigm. With either approach, however, you can create complex applications that use object-based features.