Mozilla 的 数组附加值实现试图兼容 ECMAScript 5,看看 Array.prototype.indexOf方法的描述(& sect; 15.4.4.14) :
1. Let O be the result of calling ToObject passing the this value
as the argument.
2. Let lenValue be the result of calling the [[Get]] internal method of O with
the argument "length".
3. Let len be ToUint32(lenValue).
....