+ 1
is javascript object oriented programming. i mean it has objects but , i never used it to implement polymorphism and neither i used private and public stuff. is it really object oriented??
5 odpowiedzi
+ 2
Prototype-based programming is a style of object-oriented programming where classes are not present, and behavior reuse (or inheritance in class-based languages) is performed by cloning existing objects that serve as prototypes.
+ 1
No, JS is not OO lang, JS is Prototype-based lang
+ 1
prototype based😮😮😮 its new to me.
i know about oop,procedure op, and object based programming.
but its kinda new
PROTOTYPE BASED
+ 1
so what is difference bw object based programming and prototype based programming.
they seem similar to me🤐🤔
0
can u explain why it is prototype based