1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:07:34 +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:
Linus Groh 2022-05-24 18:27:09 +01:00
parent ae1fdf299d
commit c3f1d8f5ba
10 changed files with 11 additions and 11 deletions

View file

@ -25,7 +25,7 @@ void PlainMonthDayConstructor::initialize(GlobalObject& global_object)
auto& vm = this->vm();
// 10.2.1 Temporal.PlainMonthDay.prototype, https://tc39.es/proposal-temporal/#sec-temporal-plainmonthday-prototype
// 10.2.1 Temporal.PlainMonthDay.prototype, https://tc39.es/proposal-temporal/#sec-temporal.plainmonthday.prototype
define_direct_property(vm.names.prototype, global_object.temporal_plain_month_day_prototype(), 0);
define_direct_property(vm.names.length, Value(2), Attribute::Configurable);