Solution Review: Closure

In this lesson, we will discuss the solutions to the questions in the previous lesson.

Question 1: Solution review #

Explanation #

Option A is correct since, in JavaScript, a closure is a function that can access the variables from another function’s scope. This is ...