mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Null out the descriptor.value after using it in setData.
This commit is contained in:
@@ -2276,6 +2276,7 @@
|
|||||||
var setData = !defineProperty ? noop : function(func, value) {
|
var setData = !defineProperty ? noop : function(func, value) {
|
||||||
descriptor.value = value;
|
descriptor.value = value;
|
||||||
defineProperty(func, expando, descriptor);
|
defineProperty(func, expando, descriptor);
|
||||||
|
descriptor.value = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user