From 73d28a0551e75958270445efa67aca150621c8b9 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 19 Mar 2020 18:07:07 +0100 Subject: [PATCH] LibJS: Prefer FunctionDeclaration if a statement begins with "function" --- Base/home/anon/www/events.html | 5 ++--- Libraries/LibJS/Parser.cpp | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Base/home/anon/www/events.html b/Base/home/anon/www/events.html index 42f6ed948b..ed38a7178c 100644 --- a/Base/home/anon/www/events.html +++ b/Base/home/anon/www/events.html @@ -2,10 +2,9 @@