This is correct.

In javascript the inner functions have access to the variables of the
outer function. They even retain that direct access after the outer
function has returned, allowing you to create private variables and
methods (through closure).

Reply via email to