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:
parent
ac440e6c0e
commit
89700a2101
7 changed files with 22 additions and 9 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue