mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
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:
Notes:
sideshowbarker
2024-07-17 23:02:37 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/c3f1d8f5ba Pull-request: https://github.com/SerenityOS/serenity/pull/14091 Reviewed-by: https://github.com/IdanHo
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user