EPAM Systems Interview Question

asked about closures, hoisting, prototype inheritance in JS