mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 11:57:49 +00:00
Set constructor of lodash.prototype.
This commit is contained in:
@@ -14462,6 +14462,7 @@
|
|||||||
|
|
||||||
// Ensure wrappers are instances of `baseLodash`.
|
// Ensure wrappers are instances of `baseLodash`.
|
||||||
lodash.prototype = baseLodash.prototype;
|
lodash.prototype = baseLodash.prototype;
|
||||||
|
lodash.prototype.constructor = lodash;
|
||||||
|
|
||||||
LodashWrapper.prototype = baseCreate(baseLodash.prototype);
|
LodashWrapper.prototype = baseCreate(baseLodash.prototype);
|
||||||
LodashWrapper.prototype.constructor = LodashWrapper;
|
LodashWrapper.prototype.constructor = LodashWrapper;
|
||||||
|
|||||||
Reference in New Issue
Block a user