提交 f1448313 编写于 作者: M mahaifeng

[array]去除手动生成的代码

上级 5ab9fa38
......@@ -146,7 +146,7 @@ export function testArray() : Result {
})
})
test("find", () => {
// #TEST Array.find_1
// #TEST Array.find_2
const array1 : number[] = [5, 12, 8, 130, 44];
const found1 = array1.find((element : number) : boolean => element > 10);
console.log(found1) //12
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册