diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2024-01-11 07:37:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 15:37:25 -0700 |
commit | 515a34b4de222e35c7ade1b92614d746e73d4c2e (patch) | |
tree | 8284201fc826a33f12597959a8a8be14e0f524bd /ext/webidl/00_webidl.js | |
parent | d4893eb51a01c5a692d8ca74a3b8ff95c5fd1d9f (diff) |
refactor: use `core.ensureFastOps()` (#21888)
Diffstat (limited to 'ext/webidl/00_webidl.js')
-rw-r--r-- | ext/webidl/00_webidl.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/webidl/00_webidl.js b/ext/webidl/00_webidl.js index b1a2902f8..6cf2c5f8c 100644 --- a/ext/webidl/00_webidl.js +++ b/ext/webidl/00_webidl.js @@ -8,6 +8,12 @@ import { core, primordials } from "ext:core/mod.js"; const { + isArrayBuffer, + isDataView, + isSharedArrayBuffer, + isTypedArray, +} = core; +const { ArrayBufferIsView, ArrayPrototypeForEach, ArrayPrototypePush, @@ -80,12 +86,6 @@ const { Uint8Array, Uint8ClampedArray, } = primordials; -const { - isArrayBuffer, - isDataView, - isSharedArrayBuffer, - isTypedArray, -} = core; function makeException(ErrorType, message, prefix, context) { return new ErrorType( |