General Assembly interview question

How does inheritance work in JS objects?