~4 min by voice
The interviewer wants to see whether you understand how lexical scope works: a function remembers the environment where it was created and uses it after the outer function has finished. Plus whether you can show why this matters in real code, not just give a definition.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.
Sign in to answerBest with headphones · ~4 min