summaryrefslogtreecommitdiff
path: root/ext/fetch/23_request.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fetch/23_request.js')
-rw-r--r--ext/fetch/23_request.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fetch/23_request.js b/ext/fetch/23_request.js
index 873d05a2b..adebe13b3 100644
--- a/ext/fetch/23_request.js
+++ b/ext/fetch/23_request.js
@@ -300,7 +300,7 @@ class Request {
* @param {RequestInfo} input
* @param {RequestInit} init
*/
- constructor(input, init = {}) {
+ constructor(input, init = { __proto__: null }) {
if (input === _brand) {
this[_brand] = _brand;
return;