revert instanceof use

This commit is contained in:
2025-02-18 15:03:06 -06:00
parent 7796393a3f
commit 255d82c71b
4 changed files with 18 additions and 10 deletions

View File

@@ -736,7 +736,7 @@ static JSValue js_std_getenviron(JSContext *ctx, JSValueConst this_val,
static JSValue js_std_gc(JSContext *ctx, JSValueConst this_val,
int argc, JSValueConst *argv)
{
JS_RunGC(JS_GetRuntime(ctx), ctx);
JS_RunGC(JS_GetRuntime(ctx));
return JS_UNDEFINED;
}