Mobiquity Interview Question

How does inheritance work in JavaScript?