1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:37:45 +00:00

LibJS: Implement +=, -=, *=, and /= assignment operators

This commit is contained in:
Conrad Pankoff 2020-03-12 23:09:15 +11:00 committed by Andreas Kling
parent 0fe87c5fec
commit 2b36b4f09f
3 changed files with 48 additions and 0 deletions

View file

@ -391,6 +391,10 @@ private:
enum class AssignmentOp {
Assign,
PlusEquals,
MinusEquals,
AsteriskEquals,
SlashEquals,
};
class AssignmentExpression : public Expression {