Thanks,

Eric J.

On Feb 1, 9:13 am, "Honza (Jan Odvarko)" <[email protected]> wrote:
> This is fixed in Firebug 1.7a9 + Firefox 4.0
> Honza
>
> On Feb 1, 8:00 am, "Eric J. Van der Velden"
>
> <[email protected]> wrote:
> > 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.

Reply via email to