+ 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 ответ
+ 2
Prototyping is the way to share functionalities between two objects, methods
1st Jul 2021, 10:56 AM
Shahghasi Adil
Shahghasi Adil - avatar