Function js_sys::eval[][src]

pub fn eval(js_source_text: &str) -> Result<JsValue, JsValue>
Expand description

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

MDN documentation