mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +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
|
@ -372,7 +372,7 @@ DeprecatedString Value::to_string_without_side_effects() const
|
|||
case STRING_TAG:
|
||||
return MUST(as_string().deprecated_string());
|
||||
case SYMBOL_TAG:
|
||||
return as_symbol().to_deprecated_string();
|
||||
return as_symbol().descriptive_string();
|
||||
case BIGINT_TAG:
|
||||
return as_bigint().to_deprecated_string();
|
||||
case OBJECT_TAG:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue