macro_rules! table {
    ($data:expr) => { ... };
    ($data:expr, $columns:expr) => { ... };
}
Expand description

Calls console.table()

Since in most cases, this takes in an object, instead of, say a string literal/variable, we use serde to serialize the passed data object into JsValue.

An IntoIterator<Item = &str> can be passed to specify the columns.