From e7de58d3688ea3b80201da15b44e30782d72cd4e Mon Sep 17 00:00:00 2001 From: JTH Date: Mon, 3 Oct 2022 14:00:45 +0200 Subject: [PATCH] Use `[]` instead of `new Array()` --- quickmod.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickmod.user.js b/quickmod.user.js index 8dbbd14..3ca0bd8 100644 --- a/quickmod.user.js +++ b/quickmod.user.js @@ -152,7 +152,7 @@ async function remove_post_handler(event) { * So essentially, we do not have any asynchronous execution here, * unfortunately. */ - const errors = new Array(); + const errors = []; try { await send_mcp_request_archival(post, splitReason); } catch (err) { -- 2.39.2