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
1 week 1 day ago
1 week 1 day ago
1 week 3 days ago
1 week 3 days ago
1 week 4 days ago
1 week 5 days ago
2 weeks 1 day ago
2 weeks 4 days ago
3 weeks 1 day ago
4 weeks 1 day ago