From 88850a6e05b25a4ffa66e729cca56bd15850a756 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 13 Jun 2020 19:50:26 +0100 Subject: enhance `evaluate` (#3995) --- test/ufuzz/index.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/ufuzz') 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 @@ -767,6 +767,10 @@ function _createExpression(recurmax, noComma, stmtDepth, canThrow) { return createArrayLiteral(recurmax, stmtDepth, canThrow) + "." + getDotKey(); 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) + "]"; -- cgit v1.2.3