I am interested to know why IE8 is having trouble with this line of code:
if (isArray(obj))
When I check in the IE8 javascript console, I see the following:
>>obj
{...}
>>typeof(obj)
"object"
>>Object.prototype.toString.call(obj)
"[object Array]"
and even
>>obj.length
7
However,
>>isArray(obj)
Object expected
Why is this happening (does ie8 not support isArray?) and what would be the most effective way to resolve it?
I am experimenting with using a new version of Angular for IE8. While I understand that it is not officially supported, I hope to make improvements on the app's performance.
Thank you.