We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a5c7d1 commit 29ac131Copy full SHA for 29ac131
src/runtime/js.zig
@@ -1421,7 +1421,7 @@ pub fn Env(comptime State: type, comptime WebApis: type) type {
1421
const this_obj = if (@TypeOf(value) == JsObject)
1422
value.js_obj
1423
else
1424
- try self.js_context.valueToExistingObject(value);
+ (try self.js_context.zigValueToJs(value)).castTo(v8.Object);
1425
1426
return .{
1427
.id = self.id,
0 commit comments