3 ms·
Are you saying that you think Javascript is object oriented because it can create an Object and enclosed functions? I have always been taught while we can make
by opendomain 15y ago
Are you saying that you think Javascript is object oriented because it can create an Object and enclosed functions? I have always been taught while we can make it look like OOP, it is not because it does not have inheritance through classes AS PART OF THE LANGUAGE.
- ccanassa 15y agoJavaScript is object oriented but it gets the inheritance from prototypes instead of classes. Prototypes are very powerful, you can implement a class system in JavaScript if you want to but the reverse is not true.