summaryrefslogtreecommitdiff
path: root/ext/web/02_structured_clone.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/02_structured_clone.js')
-rw-r--r--ext/web/02_structured_clone.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/web/02_structured_clone.js b/ext/web/02_structured_clone.js
index 13275e2d8..bd08e761f 100644
--- a/ext/web/02_structured_clone.js
+++ b/ext/web/02_structured_clone.js
@@ -7,7 +7,9 @@
/// <reference path="../web/lib.deno_web.d.ts" />
import { core, primordials } from "ext:core/mod.js";
-import { DOMException } from "ext:deno_web/01_dom_exception.js";
+const {
+ isArrayBuffer,
+} = core;
const {
ArrayBuffer,
ArrayBufferPrototypeGetByteLength,
@@ -37,9 +39,8 @@ const {
Float32Array,
Float64Array,
} = primordials;
-const {
- isArrayBuffer,
-} = core;
+
+import { DOMException } from "ext:deno_web/01_dom_exception.js";
const objectCloneMemo = new SafeWeakMap();