mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:55:08 +00:00
LibJS: Add Float{32,64}Array
This commit is contained in:
parent
4dcd23c2be
commit
a70aacd7c3
6 changed files with 48 additions and 15 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue