|
@@ -58,7 +58,7 @@ public final class JsScriptEngineUtil {
|
|
|
Value result = function.execute();
|
|
|
return UniReturnUtil.success(toHostObject(result));
|
|
|
} else {
|
|
|
- return UniReturnUtil.success(toString(function));
|
|
|
+ return UniReturnUtil.success(toHostObject(function));
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
System.out.println(script);
|