Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Function Accessing Variable From Another Function? Reply To: Function Accessing Variable From Another Function?

#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.