Canva interview question

One of the question was about JavaScript closures