Veeva Systems interview question

Variable hoisting and scoping in Javascript