ES5 does some changes in Function.prototype.apply. It allows generic
array-like object for a second argument of `apply' method.

| 6. Let n be ToUint32(len).
| 7. If n is not equal to ToNumber(len), then throw a TypeError exception.

Isn't better to throws a RangeError instead of TypeError? Is this a
typo or it must be a observable behavior of `apply'?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to