mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-01 09:51:06 +00:00
When importing a file across multiple locations in a module make sure it doesn't trip an assert and it works as expected.
10 lines
111 B
JavaScript
10 lines
111 B
JavaScript
export function get_two() {
|
|
return 2;
|
|
}
|
|
|
|
let a = 0;
|
|
export function get_stateful() {
|
|
a += 1;
|
|
return a;
|
|
}
|