提交 f17ae88c 编写于 作者: fxy060608's avatar fxy060608

补充for循环continue测试例 #17519

上级 f5357e75
......@@ -299,6 +299,19 @@ export function testForLoop(): Result {
// '2: EVEN - 1 (Inner Continue) - 3 (End of Outer)',
// '3: ODD (Loop Break)'
// ])
const tokens = ["heading", "paragraph"];
for (let i = 0; i < tokens.length; i++) {
const token = tokens[i];
switch (token) {
case "heading":
continue;
case "paragraph":
continue;
default:
break;
}
}
})
})
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册