Hello,
I have this closure,
f=function(x){
var g=function(){
-> return x
}
return g
}
h=f(5)
r=h()
Now r equals 5, which is OK, but when I put a breakpoint where the ->
is , firebug says that x is not defined.
Thanks,
Eric J.
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en.