mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 12:57:35 +00:00
LibJS: Add missing spec link to ValidateAndApplyPropertyDescriptor
This commit is contained in:
parent
99328e1038
commit
fff112c8a3
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ bool is_compatible_property_descriptor(bool extensible, PropertyDescriptor const
|
||||||
return validate_and_apply_property_descriptor(nullptr, {}, extensible, descriptor, current);
|
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)
|
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.
|
// 1. Assert: If O is not undefined, then IsPropertyKey(P) is true.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue