1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:57:35 +00:00

LibJS: Rename Symbol::to_deprecated_string() to descriptive_string()

This implements the spec's SymbolDescriptiveString AO and should be
named accordingly.
This commit is contained in:
Linus Groh 2023-02-11 15:51:44 +00:00
parent ac440e6c0e
commit 89700a2101
7 changed files with 22 additions and 9 deletions

View file

@ -79,7 +79,7 @@ public:
if (is_string())
return as_string();
if (is_symbol())
return as_symbol()->to_deprecated_string();
return as_symbol()->descriptive_string();
VERIFY_NOT_REACHED();
}