LibJS: Correct section IDs of Temporal .prototype property clauses

This is an editorial change in the Temporal spec.

See: https://github.com/tc39/proposal-temporal/commit/e4eb181
This commit is contained in:
Linus Groh
2022-05-24 18:27:09 +01:00
parent ae1fdf299d
commit c3f1d8f5ba
Notes: sideshowbarker 2024-07-17 23:02:37 +09:00
10 changed files with 11 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ void PlainDateTimeConstructor::initialize(GlobalObject& global_object)
auto& vm = this->vm();
// 5.2.1 Temporal.PlainDateTime.prototype, https://tc39.es/proposal-temporal/#sec-temporal-plaindatetime-prototype
// 5.2.1 Temporal.PlainDateTime.prototype, https://tc39.es/proposal-temporal/#sec-temporal.plaindatetime.prototype
define_direct_property(vm.names.prototype, global_object.temporal_plain_date_time_prototype(), 0);
u8 attr = Attribute::Writable | Attribute::Configurable;