diff --git a/JavaScript/src/interop.ts b/JavaScript/src/interop.ts index 3731d155..db675ea4 100644 --- a/JavaScript/src/interop.ts +++ b/JavaScript/src/interop.ts @@ -177,6 +177,6 @@ function readHeapUint64(baseAddress, fieldOffset): number { return getValueU64((baseAddress as any as number) + fieldOffset); } -function getArrayDataPointer(array): number { +function getArrayDataPointer(array): number { return array + 12; }