Firebug
Firefox 3, Now With Array Inconsistency
Submitted by kourge on Tue, 02/19/2008 - 15:40
Related Terms :
Alex Russell has pointed out that Firefox 3 has some quirky issues with JavaScript arrays, namely, an array made from a literal has a different constructor than an array made from instantiating the global array object. Long story short, the below is true:
[].constructor != new Array().constructor
Update
It seems like this is a Firebug-specific issue. If you try to evaluate the above in Error Console, you'll get false.
Recent comments
2 years 11 weeks ago
2 years 35 weeks ago
2 years 35 weeks ago
2 years 35 weeks ago
2 years 36 weeks ago
2 years 38 weeks ago
2 years 39 weeks ago
2 years 41 weeks ago
2 years 41 weeks ago
3 years 3 weeks ago