LibJS: Correct spec table number for FunctionObject
This commit is contained in:
parent
74645facae
commit
74614a10d1
Notes:
github-actions[bot]
2024-11-26 12:45:18 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/74614a10d1d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2586 Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 1 additions and 1 deletions
|
@ -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<Value> internal_call(Value this_argument, ReadonlySpan<Value> arguments_list) = 0;
|
||||
virtual ThrowCompletionOr<GC::Ref<Object>> internal_construct([[maybe_unused]] ReadonlySpan<Value> arguments_list, [[maybe_unused]] FunctionObject& new_target) { VERIFY_NOT_REACHED(); }
|
||||
|
|
Loading…
Add table
Reference in a new issue