mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00:00
LibJS: Allow reserved words as keys in object expressions.
This commit is contained in:
parent
0345fdcb77
commit
bf5b251684
5 changed files with 61 additions and 3 deletions
|
@ -153,6 +153,8 @@ public:
|
|||
String string_value() const;
|
||||
bool bool_value() const;
|
||||
|
||||
bool is_identifier_name() const;
|
||||
|
||||
private:
|
||||
TokenType m_type;
|
||||
StringView m_trivia;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue