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 ;)