Great! Thanks! Pedro Simonetti.
2010/11/11 Honza (Jan Odvarko) <[email protected]> > > But instead in Firebug appears: > > >> x=undefined > > >> x > Fixed at R8405. > > I have reverted my change that I did to avoid the "undefined" for > expressions like "var a = 10;", but it rather caused confusions. > > Honza > > > > On Nov 11, 5:51 pm, Pedro Simonetti Garcia <[email protected]> > wrote: > > As Kevin pointed, the "undefined" is the return value. > > > > As John pointed, simply use expressions directly in the command line. > > > > 2010/11/11 DWJ <[email protected]> > > > > > In firebug "full" console.log doesn't return > > > undefined, > > > > I just confirmed this behavior in Firebug for Firefox. I guess this is a > bug > > and it was introduced in one of the Console/CommandLine injection > > refactorings. > > > > John, could you confirm this? The original behavior was to always print > the > > return value, even when its undefined or null, but undefined values > aren't > > logged anymore. > > > > For example, if you execute the expressions "x=undefined" and "x" in the > > command line it should show: > > > > >>> x=undefined > > undefined > > >>> x > > > > undefined > > > > But instead in Firebug appears: > > > > >>> x=undefined > > >>> x > > > > regards, > > > > Pedro Simonetti. > > > > > thought it was the same in firebug lite. > > > > > Thanx a lot again! > > > > > On 11 Nov, 16:59, John J Barton <[email protected]> wrote: > > > > On Nov 11, 7:52 am, Kevin Dangoor <[email protected]> wrote: > > > > > > > On Thu, Nov 11, 2010 at 3:48 AM, DWJ <[email protected]> > wrote: > > > > > > i'm using firebug lite on IE 7/8. Whether i use the beta or > stable > > > > > > version when issuing from console something like > > > > > > > > console.log('log this'); > > > > > > > > i'm always getting, aside from the correct string, another row > with > > > > > > undefined. > > > > > > > The console prints out the value of the expression you type in... > and > > > > > console.log returns undefined. > > > > > > Just to amplify Kevin's response, if you are on the command line type > > > > "log this" > > > > to see > > > > "log this" > > > > If you are in Javascript code in your application, type > > > > console.log("log.this"); > > > > to see > > > > "log this". > > > > > > jjb > > > > > > > Kevin > > > > > > > -- > > > > > Kevin Dangoor > > > > > > > work:http://mozilla.com/ > > > > > email: [email protected] > > > > > blog:http://www.BlueSkyOnMars.com > > > > > -- > > > 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]<firebug%[email protected]> > <firebug%[email protected]<firebug%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/firebug?hl=en. > > > > > > -- > 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]<firebug%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/firebug?hl=en. > > -- 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.
