mirror of
https://github.com/bellard/quickjs.git
synced 2024-12-12 09:44:33 +08:00
Remove new lines in function constructor
This commit is contained in:
parent
0c8fecab23
commit
95b81bf454
@ -38397,7 +38397,7 @@ static JSValue js_function_constructor(JSContext *ctx, JSValueConst new_target,
|
||||
if (string_buffer_concat_value(b, argv[i]))
|
||||
goto fail;
|
||||
}
|
||||
string_buffer_puts8(b, "\n) {\n");
|
||||
string_buffer_puts8(b, ") {");
|
||||
if (n >= 0) {
|
||||
if (string_buffer_concat_value(b, argv[n]))
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user