mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
LibJS: Store and return undefined Symbol description
Instead of the current incorrect behaviour of just defaulting to an empty string.
This commit is contained in:
parent
4aff4249aa
commit
dac971b4ae
5 changed files with 17 additions and 19 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
Symbol& primitive_symbol() { return m_symbol; }
|
||||
const Symbol& primitive_symbol() const { return m_symbol; }
|
||||
|
||||
const String& description() const { return m_symbol.description(); }
|
||||
String description() const { return m_symbol.description(); }
|
||||
bool is_global() const { return m_symbol.is_global(); }
|
||||
|
||||
virtual Value value_of() const override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue