1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-06-23 09:41:33 +00:00
Files
.cargo
crates
backend
cli
cli-support
futures
js-sys
macro
macro-support
shared
test
test-macro
typescript
web-sys
webidl
webidl-tests
Cargo.toml
array.js
array.rs
array.webidl
array_buffer.js
array_buffer.rs
array_buffer.webidl
build.rs
consts.js
consts.rs
consts.webidl
enums.js
enums.rs
enums.webidl
lib.rs
main.rs
namespace.js
namespace.rs
namespace.webidl
simple.js
simple.rs
simple.webidl
throws.js
throws.rs
throws.webidl
examples
guide
releases
src
tests
.appveyor.yml
.eslintignore
.eslintrc
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
package-lock.json
package.json
yarn.lock
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) {
// ...
}
};