aboutsummaryrefslogtreecommitdiff
path: root/lib/parse.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parse.js')
-rw-r--r--lib/parse.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/parse.js b/lib/parse.js
index 26c618ef..2cb30409 100644
--- a/lib/parse.js
+++ b/lib/parse.js
@@ -107,7 +107,8 @@ var OPERATORS = makePredicate([
"^=",
"&=",
"&&",
- "||"
+ "||",
+ "??",
]);
var NEWLINE_CHARS = "\n\r\u2028\u2029";
@@ -662,6 +663,7 @@ var PRECEDENCE = function(a, ret) {
}
return ret;
}([
+ ["??"],
["||"],
["&&"],
["|"],