Simple cross-browser array/object comparison requires dozens of lines of code or an external library