Groups
Groups
Sign in
Groups
Groups
Firebug
Conversations
About
Send feedback
Help
Firebug confuses "var" and "let" variables in watch expressions
0 views
Skip to first unread message
joebloe
unread,
May 16, 2008, 1:31:19 PM
5/16/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebug
I haven't figured out exactly what circumstances cause this, but it
seems that in many cases like:
var x;
function foo() {
//...
let x = 'something';
some_function(); //... ** here **
when Firebug is used to inspect the variables at the starred line, it
thinks that x is the global x and not the let x.
Is this a bug? Is there a workaround, aside from using different names
for let variables?
John J Barton
unread,
May 16, 2008, 1:59:17 PM
5/16/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebug
There are several bug reports about issue of local variables, maybe
they are related?
Reply all
Reply to author
Forward
0 new messages