wasm-bindgen/examples/smorgasboard/awesome.js
2018-03-02 20:19:39 -08:00

15 lines
244 B
JavaScript

export function bar_on_reset(s, token) {
console.log(token);
console.log(`this instance of bar was reset to ${s}`);
}
export class Awesome {
constructor() {
this.internal = 32;
}
get_internal() {
return this.internal;
}
}