提交 2b0268b0 编写于 作者: 雪洛's avatar 雪洛

fix: 修复鸿蒙平台运行错误#0

上级 688eb6dc
......@@ -250,7 +250,7 @@ export function testArray(): Result {
test("forEach", () => {
// #TEST Array.forEach,Array.forEach_1,Array.forEach_2
const array1: string[] = ['a', 'b', 'c'];
array1.forEach(element => console.log(element));
array1.forEach(element => {console.log(element)});
// expected output: "a"
// expected output: "b"
// expected output: "c"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册