wasm_bindgen::JsValue::undefined function

Example

Creates a new JSValue representing undefined.


pub fn jsvalue_undefined() {
    let js_undefined=JsValue::undefined();
    web_sys::console::log_2(&"Get Value:%s".into(),&js_undefined);
}
                                    

Function


        pub fn undefined() -> JsValue
           

features/dependencies

Source Code