Fix failing IE9 test.

This commit is contained in:
John-David Dalton
2014-09-18 19:55:07 -07:00
parent 138523bab3
commit 51990ed0e5

View File

@@ -7658,6 +7658,9 @@
if (object == null) {
return [];
}
if (!isObject(object)) {
object = Object(object);
}
var length = object.length;
length = (typeof length == 'number' && length > 0 &&
(isArray(object) || (support.nonEnumStrings && isString(object)) ||