From 95b81bf454844a07ec73279ad521d49aafb7fcd8 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Wed, 8 May 2024 17:58:23 +0200 Subject: [PATCH] Remove new lines in function constructor --- quickjs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickjs.c b/quickjs.c index 3c1c326..abe733f 100644 --- a/quickjs.c +++ b/quickjs.c @@ -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;