1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:57:35 +00:00

LibJS: Add typed comparison operator

The `===` operator allows us to compare two values while taking their
type into consideration.
This commit is contained in:
0xtechnobabble 2020-03-08 07:53:02 +02:00 committed by Andreas Kling
parent 3fb0ff102c
commit 4e62dcd6e6
2 changed files with 43 additions and 0 deletions

View file

@ -129,6 +129,7 @@ private:
enum class BinaryOp {
Plus,
Minus,
TypedEquals,
};
class BinaryExpression : public Expression {