Coolblue Interview Question

How does prototype inheritance work?