diff options
Diffstat (limited to 'test/ufuzz')
-rw-r--r-- | test/ufuzz/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js index 0625a267..3d0824b6 100644 --- a/test/ufuzz/index.js +++ b/test/ufuzz/index.js @@ -149,6 +149,7 @@ var SUPPORT = function(matrix) { for_of: "for (var a of []);", generator: "function* f(){}", let: "let a;", + nullish: "0 ?? 0", rest: "var [...a] = [];", rest_object: "var {...a} = {};", spread: "[...[]];", @@ -231,6 +232,7 @@ var BINARY_OPS = [ ",", ]; BINARY_OPS = BINARY_OPS.concat(BINARY_OPS); +if (SUPPORT.nullish) BINARY_OPS.push("??"); BINARY_OPS = BINARY_OPS.concat(BINARY_OPS); BINARY_OPS = BINARY_OPS.concat(BINARY_OPS); if (SUPPORT.exponentiation) BINARY_OPS.push("**"); |