FIS Interview Question

mostly code snippets based on scope and hoisting of javascript