mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-03 06:31:34 +00:00
crates
examples
add
asm.js
char
closures
comments
console_log
dom
hello_world
import_js
math
no_modules
performance
smorgasboard
src
.gitignore
Cargo.toml
README.md
app.js
awesome.js
build.sh
index.html
index.js
package.json
webpack.config.js
wasm-in-wasm
README.md
guide
releases
src
tests
.appveyor.yml
.eslintrc.js
.gitignore
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
package.json
yarn.lock
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;
|
||
|
}
|
||
|
}
|