devela::_dep::web_sys::js_sys

Function eval

Source
pub fn eval(js_source_text: &str) -> Result<JsValue, JsValue> 
Available on crate feature dep_web_sys only.
Expand description

The eval() function evaluates JavaScript code represented as a string.

MDN documentation