hello, i was playing a bit with firebug and i was trying to do a quick 
thing in it and i have created the following code to find fibonacci numbers 
until 1million.

var x1=0;
var x2=1;
var x3;

console.log(x1);
while(x2<1000000){
  console.log(x2);
  x3=x1;
  x1=x2;
  x2=x3+x2;
  //console.log("--"+x2);
}

i created this code in command editor and what happened after running it 
and reviewing the code is that the last number is wrong, it stays outside 
of the inequality, it is greater.

And i have checked that using the same code in an html5 file with the 
markups it works fine.

I think it is some kind of parse or reassembly of the code, like the way 
there can be code put in a tree of symbols.
It means that code from inside the command editor box is work differently 
than from the current webpage...

I know dealing with an entire programming language with javascript is kinda 
buggy. and the web browser has to work flawlessly...

Hope i helped ;)

-- 
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].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/6e50f0e9-6b9e-4d5e-925d-cc9ba16d381b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to