Rust Debug Function Example In Javascript