Possible Duplicate:
Is Chrome's JavaScript console lazy about evaluating arrays?
For this annonymous function I have diferent output, and it depends if I am using Chrome developer console or Firefox Firebug.Why is that ?
(function(){
var t =["one","two"];
console.log(t)
function a(m){
t[2]="three";
console.log(t)
};a(t)
function b(n){
t[3]="four";
console.log(t)
};b(t)
}())
["one", "two", "three", "four"]
["one", "two", "three", "four"]
["one", "two", "three", "four"] // chrome output
["one", "two"]
["one", "two", "three"]
["one", "two", "three", "four"]// firebug output