Fix _.isArguments in Safari 8.1.

This commit is contained in:
John-David Dalton
2015-09-03 19:17:11 -07:00
parent ee776fd0de
commit 38a802fed3

View File

@@ -8149,8 +8149,8 @@
* // => false * // => false
*/ */
function isArguments(value) { function isArguments(value) {
return isObjectLike(value) && isArrayLike(value) && return isObjectLike(value) && isArrayLike(value) && hasOwnProperty.call(value, 'callee') &&
hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee'); (!propertyIsEnumerable.call(value, 'callee') || objToString.call(value) == argsTag);
} }
/** /**