This question has already been answered:
I am trying to deal with inheritance in js and can’t understand why a prototype is needed if there is __proto__ . As I understood (from the material that I studied), prototype - simply refers to __proto__ , is that so? If so, what is the point of prototype?