Answer & Solution
Function does not exist: inner
because the inner function inner()
is defined within the outer()
function and is not accessible outside of it. Attempting to call inner()
directly results in an error since it is not defined in the global scope.