From 1ec20c5281fd4a83166ac526007c1f58acb0689d Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 1 Mar 2016 20:33:17 -0800 Subject: [PATCH] Use `propertyIsEnumerable` var. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 4369eb2f2..292b12958 100644 --- a/lodash.js +++ b/lodash.js @@ -1393,7 +1393,7 @@ var metaMap = WeakMap && new WeakMap; /** Detect if properties shadowing those on `Object.prototype` are non-enumerable. */ - var nonEnumShadows = !({ 'valueOf': 1 }).propertyIsEnumerable('valueOf'); + var nonEnumShadows = !propertyIsEnumerable.call({ 'valueOf': 1 }, 'valueOf'); /** Used to lookup unminified function names. */ var realNames = {};