diff --git a/src/lang/object.js b/src/lang/object.js index 10c3023..e791d60 100644 --- a/src/lang/object.js +++ b/src/lang/object.js @@ -217,7 +217,13 @@ function isArray(object) { return _toString.call(object) == "[object Array]"; } - + + var hasNativeIsArray = (typeof Array.isArray == 'function') + && Array.isArray([]) && !Array.isArray({}); + + if (hasNativeIsArray) { + isArray = Array.isArray; + } /** * Object.isHash(object) -> Boolean diff --git a/vendor/pdoc b/vendor/pdoc index e976b84..147250b 160000 --- a/vendor/pdoc +++ b/vendor/pdoc @@ -1 +1 @@ -Subproject commit e976b844144666113008a9159fa501f8f575bd1c +Subproject commit 147250bd65eed627e32ca5a70b57fe4f7803ab4b