mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
LibJS: Replace to_deprecated_string() with to_string() in Temporal
Turns out all of these can already be replaced with no further changes!
This commit is contained in:
parent
890b4d7980
commit
b41e7b7e86
7 changed files with 14 additions and 14 deletions
|
@ -563,10 +563,10 @@ ThrowCompletionOr<bool> time_zone_equals(VM& vm, Object& one, Object& two)
|
|||
return true;
|
||||
|
||||
// 2. Let timeZoneOne be ? ToString(one).
|
||||
auto time_zone_one = TRY(Value(&one).to_deprecated_string(vm));
|
||||
auto time_zone_one = TRY(Value(&one).to_string(vm));
|
||||
|
||||
// 3. Let timeZoneTwo be ? ToString(two).
|
||||
auto time_zone_two = TRY(Value(&two).to_deprecated_string(vm));
|
||||
auto time_zone_two = TRY(Value(&two).to_string(vm));
|
||||
|
||||
// 4. If timeZoneOne is timeZoneTwo, return true.
|
||||
if (time_zone_one == time_zone_two)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue