From c10146e2f0c0592360c9fe18211972ba5307d3b0 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 29 Feb 2016 00:02:13 -0800 Subject: [PATCH] Set constructor of `lodash.prototype`. --- lodash.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lodash.js b/lodash.js index e88f5dac0..94b746469 100644 --- a/lodash.js +++ b/lodash.js @@ -14462,6 +14462,7 @@ // Ensure wrappers are instances of `baseLodash`. lodash.prototype = baseLodash.prototype; + lodash.prototype.constructor = lodash; LodashWrapper.prototype = baseCreate(baseLodash.prototype); LodashWrapper.prototype.constructor = LodashWrapper;