Function dbg
Source pub fn dbg<T>(string: T)
Expand description
Prints the given string using the emscripten-defined dbg()
JS function.
§Arguments
string
- The string to print.
§Examples
dbg("Hello, world!");
dbg(format!("0.1 + 0.2 = {}", 0.1 + 0.2));