financial.com Interview Question

javascript hoisting , es6 related