From d368fcadac3feb530a950ed127abce9b574e4730 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sat, 16 Nov 2024 13:15:20 -0500 Subject: [PATCH] LibJS: Update spec link for Temporal [ %Symbol.toStringTag% ] --- Libraries/LibJS/Runtime/Temporal/Temporal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/LibJS/Runtime/Temporal/Temporal.cpp b/Libraries/LibJS/Runtime/Temporal/Temporal.cpp index ee7a19cf011..c0d97891b9f 100644 --- a/Libraries/LibJS/Runtime/Temporal/Temporal.cpp +++ b/Libraries/LibJS/Runtime/Temporal/Temporal.cpp @@ -1,5 +1,6 @@ /* * Copyright (c) 2021-2023, Linus Groh + * Copyright (c) 2024, Tim Flynn * * SPDX-License-Identifier: BSD-2-Clause */ @@ -23,7 +24,7 @@ void Temporal::initialize(Realm& realm) auto& vm = this->vm(); - // 1.1.1 Temporal [ @@toStringTag ], https://tc39.es/proposal-temporal/#sec-temporal-@@tostringtag + // 1.1.1 Temporal [ %Symbol.toStringTag% ], https://tc39.es/proposal-temporal/#sec-temporal-%symbol.tostringtag% define_direct_property(vm.well_known_symbol_to_string_tag(), PrimitiveString::create(vm, "Temporal"_string), Attribute::Configurable); }