From bd65bb67e25a79b019d745b7262b2008ce2adb15 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 16 Nov 2016 01:59:39 +0100 Subject: incrementally verify denoms The denominations are not stored in a separate object store. --- node_modules/lodash/result.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'node_modules/lodash/result.js') diff --git a/node_modules/lodash/result.js b/node_modules/lodash/result.js index 146eb57ee..a02481029 100644 --- a/node_modules/lodash/result.js +++ b/node_modules/lodash/result.js @@ -1,6 +1,5 @@ var castPath = require('./_castPath'), isFunction = require('./isFunction'), - isKey = require('./_isKey'), toKey = require('./_toKey'); /** @@ -33,7 +32,7 @@ var castPath = require('./_castPath'), * // => 'default' */ function result(object, path, defaultValue) { - path = isKey(path, object) ? [path] : castPath(path); + path = castPath(path, object); var index = -1, length = path.length; -- cgit v1.2.3