EPAM Systems interview question

asked about closures, hoisting, prototype inheritance in JS