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.js27
1 files changed, 14 insertions, 13 deletions
diff --git a/ext/fetch/23_request.js b/ext/fetch/23_request.js
index 0f763234a..8ca92ca72 100644
--- a/ext/fetch/23_request.js
+++ b/ext/fetch/23_request.js
@@ -9,6 +9,20 @@
/// <reference path="./lib.deno_fetch.d.ts" />
/// <reference lib="esnext" />
+import { primordials } from "ext:core/mod.js";
+const {
+ ArrayPrototypeMap,
+ ArrayPrototypeSlice,
+ ArrayPrototypeSplice,
+ ObjectKeys,
+ ObjectPrototypeIsPrototypeOf,
+ RegExpPrototypeExec,
+ StringPrototypeStartsWith,
+ Symbol,
+ SymbolFor,
+ TypeError,
+} = primordials;
+
import * as webidl from "ext:deno_webidl/00_webidl.js";
import { assert } from "ext:deno_web/00_infra.js";
import { createFilteredInspectProxy } from "ext:deno_console/01_console.js";
@@ -30,19 +44,6 @@ import {
} from "ext:deno_fetch/20_headers.js";
import { HttpClientPrototype } from "ext:deno_fetch/22_http_client.js";
import * as abortSignal from "ext:deno_web/03_abort_signal.js";
-import { primordials } from "ext:core/mod.js";
-const {
- ArrayPrototypeMap,
- ArrayPrototypeSlice,
- ArrayPrototypeSplice,
- ObjectKeys,
- ObjectPrototypeIsPrototypeOf,
- RegExpPrototypeExec,
- StringPrototypeStartsWith,
- Symbol,
- SymbolFor,
- TypeError,
-} = primordials;
const _request = Symbol("request");
const _headers = Symbol("headers");