diff --git a/ext/fetch/23_response.js b/ext/fetch/23_response.js index 8d87944b65..226a751bd1 100644 --- a/ext/fetch/23_response.js +++ b/ext/fetch/23_response.js @@ -298,7 +298,7 @@ * @param {BodyInit | null} body * @param {ResponseInit} init */ - constructor(body = null, init = {}) { + constructor(body = null, init = undefined) { const prefix = "Failed to construct 'Response'"; body = webidl.converters["BodyInit_DOMString?"](body, { prefix,