From ff138c6d474874c0b62cf5b78000fa9cadd1cf8a Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 12 May 2014 07:46:02 -0700 Subject: [PATCH] Null out the `descriptor.value` after using it in `setData`. --- lodash.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lodash.js b/lodash.js index 5febbeb12..98c7fc270 100644 --- a/lodash.js +++ b/lodash.js @@ -2276,6 +2276,7 @@ var setData = !defineProperty ? noop : function(func, value) { descriptor.value = value; defineProperty(func, expando, descriptor); + descriptor.value = null; }; /**