From 824d3b75f903a0d75f8fb4844415760cf36e4adc Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 3 Sep 2015 20:05:39 -0700 Subject: [PATCH] Add Safari 8.1 note to `_.isArguments`. [ci skip] --- lodash.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lodash.js b/lodash.js index a0b4e38d1..2e5732aae 100644 --- a/lodash.js +++ b/lodash.js @@ -8149,6 +8149,7 @@ * // => false */ function isArguments(value) { + // Safari 8.1 incorrectly makes `arguments.callee` enumerable in strict mode. return isObjectLike(value) && isArrayLike(value) && hasOwnProperty.call(value, 'callee') && (!propertyIsEnumerable.call(value, 'callee') || objToString.call(value) == argsTag); }