Nick Vatamaniuc 00b1d8d0b2
Read byteOffset for detached buffers
The spec [1] expects to read `byteOffset` even for detached buffers.

Noticed a new test262 test [2] failed and there an an existing one we skipped
as well for the same reason.

[1] https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray
[2] https://github.com/tc39/test262/blob/main/test/built-ins/TypedArray/prototype/subarray/byteoffset-with-detached-buffer.js

Fix: https://github.com/bellard/quickjs/issues/417
2025-06-07 01:37:54 -04:00
2024-05-10 01:57:55 +02:00
2025-05-24 13:26:36 +02:00
2025-04-26 12:30:26 +02:00
2025-03-20 11:47:07 +01:00
2025-04-21 15:33:47 +02:00
2025-05-16 20:34:18 +02:00
2025-05-16 20:34:18 +02:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2025-04-26 12:30:26 +02:00
2025-05-20 18:27:23 +02:00
2025-06-07 01:37:54 -04:00
2025-04-26 12:30:26 +02:00
2020-09-06 18:53:08 +02:00
2025-04-26 12:30:26 +02:00
2025-05-24 15:43:14 +02:00
2020-09-06 18:53:08 +02:00
2024-02-10 20:54:29 +01:00
2025-05-24 15:43:14 +02:00
2025-04-26 12:30:26 +02:00

The main documentation is in doc/quickjs.pdf or doc/quickjs.html.
Description
Public repository of the QuickJS Javascript Engine.
Readme MIT 24 MiB
Languages
C 94.2%
JavaScript 5.2%
Makefile 0.5%
Shell 0.1%