aboutsummaryrefslogtreecommitdiff
path: root/test/ufuzz/index.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-12-18 04:20:43 +0000
committerGitHub <noreply@github.com>2020-12-18 12:20:43 +0800
commitd2c50ace997da8b1f7a3b0bd75bd1b376907928a (patch)
tree95e783c7917340214fdf738696af0df2caa74a46 /test/ufuzz/index.js
parent1b646d3bc4bd69cbe12fb14def7716edde01a3c4 (diff)
downloadtracifyjs-d2c50ace997da8b1f7a3b0bd75bd1b376907928a.tar.gz
tracifyjs-d2c50ace997da8b1f7a3b0bd75bd1b376907928a.zip
fix corner case in `merge_vars` (#4402)
fixes #4401
Diffstat (limited to 'test/ufuzz/index.js')
-rw-r--r--test/ufuzz/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js
index c4ad4a78..eb38a759 100644
--- a/test/ufuzz/index.js
+++ b/test/ufuzz/index.js
@@ -1011,7 +1011,7 @@ function _createExpression(recurmax, noComma, stmtDepth, canThrow) {
suffix = "})";
} else {
s.push("((" + params + ") => ");
- switch (rng(4)) {
+ switch (rng(10)) {
case 0:
s.push('(typeof arguments != "undefined" && arguments && arguments[' + rng(3) + "])");
break;