Enable commented-out test

This commit is contained in:
André Bargull 2025-04-30 14:16:15 +02:00 committed by Philip Chimento
parent b44d7a16ee
commit b096b30f60

View File

@ -26,8 +26,8 @@ function isOK(code)
isError("for (const x; ; ) ;", SyntaxError);
isError("for (const x = 5, y; ; ) ;", SyntaxError);
isError("for (const [z]; ; ) ;", SyntaxError);
//isError("for (const [z, z]; ; ) ;", SyntaxError);
//isError("for (const [z, z] = [0, 1]; ; ) ;", SyntaxError);
isError("for (const [z, z]; ; ) ;", SyntaxError);
isError("for (const [z, z] = [0, 1]; ; ) ;", SyntaxError);
isOK("for (let x; ; ) ;");
isOK("for (let x = 5, y; ; ) ;");