From 358ecfd2ebd867bb36112559995de417ac63fb4d Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 22 Aug 2016 10:56:07 -0700 Subject: [PATCH] Add `writable` descriptor to `setToString`. --- lodash.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 19ab64263..7e9d44c97 100644 --- a/lodash.js +++ b/lodash.js @@ -6358,7 +6358,8 @@ return defineProperty(func, 'toString', { 'configurable': true, 'enumerable': false, - 'value': constant(string) + 'value': constant(string), + 'writable': true }); };