PwC interview question

Explain about closures and inheritance in Javascript