Description
pyEval should return the JsValue, as the run function of wasmvm proposed,
fn run(&self, source: &str, mode: compile::Mode) -> Result<JsValue, JsValue>,
but there is something missing such that the return value is always undefined.
Expected Result
>> let a = rp.pyEval("1 + 1")
← undefined
>> a
← 2
Actual Result
>> let a = rp.pyEval("1 + 1")
← undefined
>> a
← undefined
Description
pyEval should return the
JsValue, as the run function of wasmvm proposed,fn run(&self, source: &str, mode: compile::Mode) -> Result<JsValue, JsValue>,but there is something missing such that the return value is always
undefined.Expected Result
Actual Result