blob: 8703ad30001b8664b866740fabcf45f52490bdd0 [file] [log] [blame]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
pub fn double(i: i32) -> i32 {
i * 2
}
#[allow(dead_code)]
fn main() {
println!("Hello {}", double(2));
}