summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-07-07 01:32:11 +0300
committerLinus Groh <mail@linusgroh.de>2021-07-07 10:14:44 +0100
commitfff112c8a34089a96e8c11b35fdbb21ed6d9527f (patch)
tree8a55a5ba18361eb95c0e27ce44281f9ff3f7db44 /Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp
parent99328e1038f4f87e9ea523dc12264a946769b058 (diff)
downloadserenity-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.cpp2
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.