Null out the descriptor.value after using it in setData.

This commit is contained in:
John-David Dalton
2014-05-12 07:46:02 -07:00
parent a89f8b8098
commit ff138c6d47

View File

@@ -2276,6 +2276,7 @@
var setData = !defineProperty ? noop : function(func, value) {
descriptor.value = value;
defineProperty(func, expando, descriptor);
descriptor.value = null;
};
/**