Domanda di colloquio di Mobiquity

How does inheritance work in JavaScript?