web_sys::console::log1 function

Example

The log1 function output a string to the web console.


pub fn console_log1() {
    web_sys::console::log_1(&"Hello World".into());
}
                

Function


               pub fn log_1(data_1: &JsValue)
           

features/dependencies

Source Code