mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibJS: Add Float{32,64}Array
This commit is contained in:
committed by
Andreas Kling
parent
4dcd23c2be
commit
a70aacd7c3
Notes:
sideshowbarker
2024-07-19 01:02:39 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/a70aacd7c38 Pull-request: https://github.com/SerenityOS/serenity/pull/4335
@@ -1,5 +1,14 @@
|
||||
// Update when more typed arrays get added
|
||||
const TYPED_ARRAYS = [Uint8Array, Uint16Array, Uint32Array, Int8Array, Int16Array, Int32Array];
|
||||
const TYPED_ARRAYS = [
|
||||
Uint8Array,
|
||||
Uint16Array,
|
||||
Uint32Array,
|
||||
Int8Array,
|
||||
Int16Array,
|
||||
Int32Array,
|
||||
Float32Array,
|
||||
Float64Array,
|
||||
];
|
||||
|
||||
test("basic functionality", () => {
|
||||
expect(ArrayBuffer.isView).toHaveLength(1);
|
||||
|
||||
Reference in New Issue
Block a user