I have done some effort to implement a cross-browser `isArguments` in past (for jQuery), but it seems it is not possible. This solution will fail on older IE at least.

Instead of checking if an object is an array or arguments, it should be much more robust to check for `iterator` and `next` properties and to fallback to `array_iterate`.