Object Oriented Programming in JavaScript



JavaScript is not a class-based object-oriented language. But it still has ways of using object oriented programming (OOP).

JavaScript is a functional language. JavaScript uses prototypes instead of classes for inheritance, so you can achieve object-oriented designs. Functions in JavaScript are also objects, and as as such they have properties and methods themselves.


Source and more

5 vues0 commentaire

Posts récents

Voir tout

Vue.js