Skip to content

Commit

Permalink
Made precedence equal to logical OR
Browse files Browse the repository at this point in the history
  • Loading branch information
sidntrivedi012 committed Jan 15, 2020
1 parent 8b15857 commit ad7a664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-generator/src/node/parentheses.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as t from "@babel/types";

const PRECEDENCE = {
"||": 0,
"??": 1,
"??": 0,
"&&": 1,
"|": 2,
"^": 3,
Expand Down

0 comments on commit ad7a664

Please sign in to comment.