(source: &str, options: Option<Object>)
| 91 | /// `undefined` or "console", and it will be a dumb function when giving null. |
| 92 | #[wasm_bindgen(js_name = pyEval)] |
| 93 | pub fn eval_py(source: &str, options: Option<Object>) -> Result<JsValue, JsValue> { |
| 94 | run_py(source, options, Mode::Eval) |
| 95 | } |
| 96 | |
| 97 | /// Evaluate Python code |
| 98 | /// |