From 74614a10d1d2374f21c1f4e804916950d49d33e2 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Tue, 26 Nov 2024 11:43:02 +0100 Subject: [PATCH] LibJS: Correct spec table number for FunctionObject --- Libraries/LibJS/Runtime/FunctionObject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibJS/Runtime/FunctionObject.h b/Libraries/LibJS/Runtime/FunctionObject.h index 629023f7ff7..ab9c9882f60 100644 --- a/Libraries/LibJS/Runtime/FunctionObject.h +++ b/Libraries/LibJS/Runtime/FunctionObject.h @@ -21,7 +21,7 @@ class FunctionObject : public Object { public: virtual ~FunctionObject() = default; - // Table 7: Additional Essential Internal Methods of Function Objects, https://tc39.es/ecma262/#table-additional-essential-internal-methods-of-function-objects + // Table 5: Additional Essential Internal Methods of Function Objects, https://tc39.es/ecma262/#table-additional-essential-internal-methods-of-function-objects virtual ThrowCompletionOr internal_call(Value this_argument, ReadonlySpan arguments_list) = 0; virtual ThrowCompletionOr> internal_construct([[maybe_unused]] ReadonlySpan arguments_list, [[maybe_unused]] FunctionObject& new_target) { VERIFY_NOT_REACHED(); }