mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibJS: Implement +=, -=, *=, and /= assignment operators
This commit is contained in:
parent
0fe87c5fec
commit
2b36b4f09f
Notes:
sideshowbarker
2024-07-19 08:45:04 +09:00
Author: https://github.com/deoxxa
Commit: 2b36b4f09f
Pull-request: https://github.com/SerenityOS/serenity/pull/1425
Reviewed-by: https://github.com/sunverwerth
3 changed files with 48 additions and 0 deletions
|
@ -391,6 +391,10 @@ private:
|
|||
|
||||
enum class AssignmentOp {
|
||||
Assign,
|
||||
PlusEquals,
|
||||
MinusEquals,
|
||||
AsteriskEquals,
|
||||
SlashEquals,
|
||||
};
|
||||
|
||||
class AssignmentExpression : public Expression {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue