Update qjs.c

This commit is contained in:
The Ghost of FOSS' Future 2025-01-09 00:34:58 +00:00 committed by GitHub
parent cb6fce1b84
commit ecce83d642
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
qjs.c
View file

@ -371,7 +371,7 @@ static const JSMallocFunctions mi_mf = {
#define PROG_NAME "qjs" #define PROG_NAME "qjs"
void polyfiller(JSContext ctx) { void polyfiller(JSContext *ctx) {
//POLYFILLS FOR QJS FILES BEGIN //POLYFILLS FOR QJS FILES BEGIN
const char *pf = "globalThis.global = globalThis;\n" const char *pf = "globalThis.global = globalThis;\n"
"global.console.error = console.log\n" "global.console.error = console.log\n"