mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 12:31:22 +00:00
js-sys: Expose bindings to WebAssembly.Table.prototype.set
Part of #275
This commit is contained in:
@ -133,6 +133,9 @@ fn table() {
|
||||
|
||||
table.grow(1).unwrap();
|
||||
assert_eq!(table.length(), 2);
|
||||
|
||||
let f = table.get(0).unwrap();
|
||||
table.set(1, &f).unwrap();
|
||||
}
|
||||
|
||||
#[wasm_bindgen_test]
|
||||
|
Reference in New Issue
Block a user