mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
LibJS: Make Value::m_type default to Type::Empty
This is not effectful since all constructors overwrite the type anyway, but it seems reasonable that the default value of m_type would match what Value() would give you.
This commit is contained in:
parent
1b391d78ae
commit
e72a537033
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ public:
|
|||
Object* to_object(Heap&) const;
|
||||
|
||||
private:
|
||||
Type m_type { Type::Undefined };
|
||||
Type m_type { Type::Empty };
|
||||
|
||||
union {
|
||||
bool as_bool;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue