diff options
author | Linus Groh <mail@linusgroh.de> | 2022-05-02 20:54:39 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-05-03 01:09:29 +0200 |
commit | 9f3f3b0864009b20a9cd02d303aa04b18bdca113 (patch) | |
tree | a9550c3806fac82e345e4a78f520b163b4561ee9 /Userland/Libraries/LibJS/Runtime/BoundFunction.cpp | |
parent | 15f32379bb399e0a8b2928a8de07cd070fb73ee5 (diff) | |
download | serenity-9f3f3b0864009b20a9cd02d303aa04b18bdca113.zip |
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
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/BoundFunction.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/BoundFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp b/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp index d13f9bf288..d4862d1783 100644 --- a/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp +++ b/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp @@ -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 |