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:
parent
3fb0ff102c
commit
4e62dcd6e6
2 changed files with 43 additions and 0 deletions
|
@ -129,6 +129,7 @@ private:
|
|||
enum class BinaryOp {
|
||||
Plus,
|
||||
Minus,
|
||||
TypedEquals,
|
||||
};
|
||||
|
||||
class BinaryExpression : public Expression {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue