Mobiquity interview question

How does inheritance work in JavaScript?