Skip to content

Commit 92577d3

Browse files
committedDec 3, 2024
Rename __argv to execArgv
1 parent 858fc36 commit 92577d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎qjs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ static JSContext *JS_NewCustomContext(JSRuntime *rt)
178178
for(i = 0; i < qjs__argc; i++) {
179179
JS_SetPropertyUint32(ctx, args, i, JS_NewString(ctx, qjs__argv[i]));
180180
}
181-
JS_SetPropertyStr(ctx, global, "__argv", args);
181+
JS_SetPropertyStr(ctx, global, "execArgv", args);
182182
JS_SetPropertyStr(ctx, global, "argv0", JS_NewString(ctx, qjs__argv[0]));
183183
JSValue navigator_proto = JS_NewObject(ctx);
184184
JS_SetPropertyFunctionList(ctx, navigator_proto, navigator_proto_funcs, countof(navigator_proto_funcs));

0 commit comments

Comments
 (0)