diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-07-07 01:32:11 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-07-07 10:14:44 +0100 |
commit | fff112c8a34089a96e8c11b35fdbb21ed6d9527f (patch) | |
tree | 8a55a5ba18361eb95c0e27ce44281f9ff3f7db44 /Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp | |
parent | 99328e1038f4f87e9ea523dc12264a946769b058 (diff) | |
download | serenity-fff112c8a34089a96e8c11b35fdbb21ed6d9527f.zip |
LibJS: Add missing spec link to ValidateAndApplyPropertyDescriptor
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp b/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp index e5671eadef..fea531feb3 100644 --- a/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp +++ b/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp @@ -160,7 +160,7 @@ bool is_compatible_property_descriptor(bool extensible, PropertyDescriptor const return validate_and_apply_property_descriptor(nullptr, {}, extensible, descriptor, current); } -// 10.1.6.3 ValidateAndApplyPropertyDescriptor ( O, P, extensible, Desc, current ), +// 10.1.6.3 ValidateAndApplyPropertyDescriptor ( O, P, extensible, Desc, current ), https://tc39.es/ecma262/#sec-validateandapplypropertydescriptor bool validate_and_apply_property_descriptor(Object* object, PropertyName const& property_name, bool extensible, PropertyDescriptor const& descriptor, Optional<PropertyDescriptor> const& current) { // 1. Assert: If O is not undefined, then IsPropertyKey(P) is true. |