From 214d5e3e83d7fef0f174e02a00b1c6135abf1d52 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 1 May 2022 01:14:59 +0200 Subject: [PATCH] LibJS: Update outdated table reference in BoundFunctionCreate --- Userland/Libraries/LibJS/Runtime/BoundFunction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp b/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp index 69d72f8dc3..d13f9bf288 100644 --- a/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp +++ b/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) 2020, Jack Karamanian - * Copyright (c) 2021, Linus Groh + * Copyright (c) 2021-2022, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ @@ -17,7 +17,7 @@ ThrowCompletionOr BoundFunction::create(GlobalObject& global_obj // 1. Let proto be ? targetFunction.[[GetPrototypeOf]](). auto* prototype = TRY(target_function.internal_get_prototype_of()); - // 2. Let internalSlotsList be the list-concatenation of « [[Prototype]], [[Extensible]] » and the internal slots listed in Table 33. + // 2. Let internalSlotsList be the list-concatenation of « [[Prototype]], [[Extensible]] » and the internal slots listed in Table 34. // 3. Let obj be ! MakeBasicObject(internalSlotsList). // 4. Set obj.[[Prototype]] to proto. // 5. Set obj.[[Call]] as described in 10.4.1.1.