mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:27:45 +00:00
LibJS: Correct section IDs of Temporal .prototype property clauses
This is an editorial change in the Temporal spec.
See: e4eb181
This commit is contained in:
parent
ae1fdf299d
commit
c3f1d8f5ba
10 changed files with 11 additions and 11 deletions
|
@ -26,7 +26,7 @@ void PlainYearMonthConstructor::initialize(GlobalObject& global_object)
|
|||
|
||||
auto& vm = this->vm();
|
||||
|
||||
// 9.2.1 Temporal.PlainYearMonth.prototype, https://tc39.es/proposal-temporal/#sec-temporal-plainyearmonth-prototype
|
||||
// 9.2.1 Temporal.PlainYearMonth.prototype, https://tc39.es/proposal-temporal/#sec-temporal.plainyearmonth.prototype
|
||||
define_direct_property(vm.names.prototype, global_object.temporal_plain_year_month_prototype(), 0);
|
||||
|
||||
define_direct_property(vm.names.length, Value(2), Attribute::Configurable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue