1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-29 03:52:12 +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 DurationConstructor::initialize(GlobalObject& global_object)
auto& vm = this->vm();
// 7.2.1 Temporal.Duration.prototype, https://tc39.es/proposal-temporal/#sec-temporal-duration-prototype
// 7.2.1 Temporal.Duration.prototype, https://tc39.es/proposal-temporal/#sec-temporal.duration.prototype
define_direct_property(vm.names.prototype, global_object.temporal_duration_prototype(), 0);
u8 attr = Attribute::Writable | Attribute::Configurable;