rquickjs-sys 0.14.0

QuickJS bindings for rquickjs
Documentation
1
2
3
4
5
6
7
8
9
10
import { assert } from "./assert.js";
const buffer = new ArrayBuffer(4, {maxByteLength: 8});
const array = new Int8Array(buffer);
const index = {
    valueOf() {
        buffer.resize(6);
        return 4;
    },
};
assert(array.at(index), undefined);