What is prototype-based in JS?
Prototypes allow you to easily define methods to all instances of a particular object. … The beauty is that the method is applied to the prototype, so it is only stored in the memory once, but every instance of the object has access to it.
__proto__ is the actual object that is used in the lookup chain to resolve methods, etc. prototype is the object that is used to build __proto__ when you create an object with new : ( new Foo ).
Is Python prototype based?