Diagnal interview question

Javascript closures, temporal deadzone etc.