A nested function is a function defined within another function. It is created each time the outer function is invoked.
a nested function is a function defined within another function it is created each time the outer function is invoked