Hi Sebastian, thank you for your help and response. On Tuesday, March 19, 2013 10:43:55 PM UTC+1, Sebastian Zartner wrote: > > Executing isArray([2,4,6]) via Firebug's Command Line using Firefox > 19.0.2 + Firebug 1.11.2 on WinXP correctly returns true. So I suggest you > update your browser and Firebug to the current versions and try it again. >
I only work with Linux, but I probably should try to update things now. I already changed to testing things with node.js in the meantime, which evaluates correctly, as well. What really troubles me and what I can't seem to grasp is the fact that the results are actually different. Firebug always uses the same JavaScript engine as Firefox, doesn't it? > Also note that you can use > Array.isArray()<https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/isArray>instead > to check whether a variable is an array, which is supported by all > current browsers. > This is a good idea, I didn't know and didn't think of that. Thank you, again Cheers Thomas -- -- 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 https://groups.google.com/forum/#!forum/firebug --- You received this message because you are subscribed to the Google Groups "Firebug" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
