It throws an error in 1.4.0a11:
{a: 1}.a is not a function
file:///C:/Users/Ratcliffes/Desktop/t.htm
Line 5Don't know about older versions though. On Jan 23, 10:14 pm, Brian Di Palma <[email protected]> wrote: > The middle alert is meant to throw an error - the problem according to the > poster is that it doesn't. You are accessing something on a which doesn't > exist. > > On Fri, Jan 23, 2009 at 3:27 PM, John J Barton > <[email protected]>wrote: > > > > > I don't understand you. > > > On Jan 23, 5:40 am, "[email protected]" <[email protected]> wrote: > > > Example: > > > > <script type="text/javascript"> > > > alert('before'); > > > alert({a:1}.a()); > > > alert('after'); > > > </script> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
