This is really embarrassing, sorry guys :P Thanx to point it out. In firebug "full" console.log doesn't return undefined, 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]. For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
