Home › Forums › JavaScript › Function Accessing Variable From Another Function? › Reply To: Function Accessing Variable From Another Function?
August 31, 2016 at 12:28 am
#245059
giudev
Participant
your code is working. I don’t see any errors.
it’s true, obj
is declared inside a private function and is not accessible from the other functions, but you are passing it as parameter so it’s fine.