aboutsummary
aboutsummaryrefslogtreecommitdiff
path: root/test/ufuzz
diff options
context:
space:
mode:
Diffstat (limited to 'test/ufuzz')
-rw-r--r--test/ufuzz/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js
index 006b4ca7..1a8eaff5 100644
--- a/test/ufuzz/index.js
+++ b/test/ufuzz/index.js
@@ -768,6 +768,10 @@ function _createExpression(recurmax, noComma, stmtDepth, canThrow) {
case p++:
return createObjectLiteral(recurmax, stmtDepth, canThrow) + "." + getDotKey();
case p++:
+ return createValue() + " in " + createArrayLiteral(recurmax, stmtDepth, canThrow);
+ case p++:
+ return createValue() + " in " + createObjectLiteral(recurmax, stmtDepth, canThrow);
+ case p++:
var name = getVarName();
var s = name + "[" + createExpression(recurmax, COMMA_OK, stmtDepth, canThrow) + "]";
return canThrow && rng(8) == 0 ? s : name + " && " + s;