macro_rules! console {
    () => { ... };
    ($val:expr $(,)?) => { ... };
    ($($val:expr),+ $(,)?) => { ... };
}
Expand description

A macro similar to dbg! that logs JsValues to console.

See the stdlib documentation to learn more. This macro calls console.log instead of eprintln! for JsValues. The formatting is done by the browser. If you want Debug implementation to be used instead, consider using console_dbg