Coolblue interview question

How does prototype inheritance work?