Skip to content

Commit

Permalink
Merge pull request #189 from Auge19/main
Browse files Browse the repository at this point in the history
non sctrict operators compare strict
  • Loading branch information
brianmhunt authored Dec 9, 2024
2 parents d71d7f9 + b2f4fc1 commit 1533d60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utils.parser/src/operators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ const operators = {
// TODO: 'in': function (a, b) { return a in b; },
// TODO: 'instanceof': function (a, b) { return a instanceof b; },
// equality
'==': function equal (a, b) { return a === b },
'!=': function ne (a, b) { return a !== b },
'==': function equal (a, b) { return a == b },
'!=': function ne (a, b) { return a != b },
'===': function sequal (a, b) { return a === b },
'!==': function sne (a, b) { return a !== b },
// bitwise
Expand Down

0 comments on commit 1533d60

Please sign in to comment.