Prototype Method (JS) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Prototype Method (JS)

Can anyone kindly explain the term prototype method easily? In ES6 classes section, they said one type of class method is prototype method. But as much as I know, prototype is an object that is associated with every function and object in JS.

1st Jul 2021, 10:24 AM
NBinte
NBinte - avatar
1 Answer
+ 2
Prototyping is the way to share functionalities between two objects, methods
1st Jul 2021, 10:56 AM
Shahghasi Adil
Shahghasi Adil - avatar