Code-Blogs
EMail:    
Password:     Forgot Password
simple javascript code crashed firefox?

In Firebug''s console

var a = [];
a[0] = a;

crashed Firefox!

Why?

edit:

  1. This statement is logically correct, and there is nothing bad about referencing recursion. Therefor it''s a bug in browser Firebug.
  2. Works fine in Chrome and Opera.
  3. I''m using last official versions of Firebug and Firefox

edit 2: It crashes in Firebug console and works in native Firefox web console

 
Comments
Comment No 1

I think this is a firebug bug.

It works fine in the built-in firefox console (ctrl+shift+k), the chrome console, and the opera console.

I''d file a bug report with firebug.

Post your comment
E-Mail:    
Reply:  
Text ColorBackground Color
BoldItalicUnderline
LeftCenterRightJustify
Ordered ListBulleted List
IndentOutdent
Horizontal Rule
SubscriptSuperscript
HyperlinkImage
Design ModeDesign
Html ModeHtml
   
 
Suggestions _