mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibJS: Remove implicit wrapping/unwrapping of completion records
This is an editorial change in the ECMA-262 spec, with similar changes in some proposals. See: - https://github.com/tc39/ecma262/commit/7575f74 - https://github.com/tc39/proposal-array-grouping/commit/df899eb - https://github.com/tc39/proposal-shadowrealm/commit/9eb5a12 - https://github.com/tc39/proposal-shadowrealm/commit/c81f527
This commit is contained in:
@@ -18,7 +18,7 @@ ThrowCompletionOr<BoundFunction*> BoundFunction::create(GlobalObject& global_obj
|
||||
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 34.
|
||||
// 3. Let obj be ! MakeBasicObject(internalSlotsList).
|
||||
// 3. Let obj be MakeBasicObject(internalSlotsList).
|
||||
// 4. Set obj.[[Prototype]] to proto.
|
||||
// 5. Set obj.[[Call]] as described in 10.4.1.1.
|
||||
// 6. If IsConstructor(targetFunction) is true, then
|
||||
|
||||
Reference in New Issue
Block a user