mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-27 20:15:14 +03:00
15 lines
244 B
JavaScript
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;
|
||
|
}
|
||
|
}
|