Skip to content

Commit

Permalink
Fixes issue with Object prototype and the chaining syntax. [closes #4…
Browse files Browse the repository at this point in the history
…247]
  • Loading branch information
ekkis authored and jdalton committed May 9, 2019
1 parent 343456d commit e42cd97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lodash.js
Expand Up @@ -17020,9 +17020,10 @@
baseForOwn(LazyWrapper.prototype, function(func, methodName) {
var lodashFunc = lodash[methodName];
if (lodashFunc) {
var key = (lodashFunc.name + ''),
names = realNames[key] || (realNames[key] = []);
var key = lodashFunc.name + '';
if (!hasOwnProperty.call(realNames, key)) return;

var names = realNames[key] || (realNames[key] = []);
names.push({ 'name': methodName, 'func': lodashFunc });
}
});
Expand Down

0 comments on commit e42cd97

Please sign in to comment.