Tech Mahindra interview question

Closures, Hoisting, Var, Let, Const and TDZ