nomagick commited on
Commit
a2f810c
·
unverified ·
1 Parent(s): 6a1f391

fix: allow redefine Function.prototype.toString

Browse files
backend/functions/src/services/puppeteer.ts CHANGED
@@ -230,7 +230,7 @@ const DONT_MESS_WITH_THE_FUNDAMENTALS = `
230
  get: ()=> fnToStringDesc.value,
231
  set: ()=> 'Dont mess with this',
232
  writeable: true,
233
- configurable: false,
234
  enumerable: false,
235
  });
236
  })();
 
230
  get: ()=> fnToStringDesc.value,
231
  set: ()=> 'Dont mess with this',
232
  writeable: true,
233
+ configurable: true,
234
  enumerable: false,
235
  });
236
  })();