change printf to log

This commit is contained in:
Arma-Damna-Dillo 2024-10-24 16:22:27 -05:00
parent 24692fbb5f
commit 978a3f47f3

2
qjs.c
View file

@ -540,7 +540,7 @@ int main(int argc, char **argv)
"if (typeof std !== 'undefined') {\n"
" globalThis.urlGet = std.urlGet;\n"
" globalThis.loadFile = std.loadFile;\n"
" globalThis.printf = std.printf;\n"
" globalThis.printf = console.log;\n"
" globalThis.evalFile = std.loadScript;\n"
" globalThis.getURL = std.urlGet;\n"
"} else {\n"