change printf to log
This commit is contained in:
parent
24692fbb5f
commit
978a3f47f3
1 changed files with 2 additions and 2 deletions
2
qjs.c
2
qjs.c
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue