I get different results for this script in Google Chrome (14.0.835.186) and Firefox (6.0.2).
Can someone explain the discrepancy? What is the behavior defined by the specifications?
EDIT . In Firefox, I see [0] , [0, 1] , etc. In Chrome, I see [0, 1, 2, 3, 4] , [0, 1, 2, 3, 4] , [0, 1, 2, 3, 4] , etc.
I am using Mac OS 10.6.8.
source share