wasm-bindgen/crates/webidl-tests/array_buffer.js

9 lines
119 B
JavaScript
Raw Normal View History

global.ArrayBufferTest = class {
getBuffer() {
return new ArrayBuffer(3);
}
setBuffer(x) {
// ...
}
};