Skip to content

Commit

Permalink
fix [operator]: add missing operator precedences
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorOBrien-Foxx committed Jul 14, 2016
1 parent 0da208d commit 9b24f9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tokenizer/consts/ops.es6
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ export const PRECEDENCE = new Map([
['and', 5000],
['or', 4000],

['&&', 2001],
['||', 2000],


['+=', 1000],
['-=', 1000],
['*=', 1000],
Expand Down

0 comments on commit 9b24f9a

Please sign in to comment.