Welcome Guest, Not a member yet? Register   Sign In
Question about JavaScript scope for call method
#6

Well, I did learn something interesting. Today I was working on a script that utilized a callback that was very similar to this one. The code that was calling the callback was trying to pass a variable to be used by the callback, but without adding the scope variables the callback just said the variable was undefined. By chance I added the scope variables and it started working.
Reply


Messages In This Thread
RE: Question about JavaScript scope for call method - by skunkbad - 11-12-2017, 10:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB