提交 a95d1414 编写于 作者: M mahaifeng

[array]去除手动生成的代码(去掉方法下面的示例代码)

上级 4b2c60c3
......@@ -149,6 +149,7 @@ export function testArray() : Result {
expect(array2.every(isBelowThreshold)).toEqual(false);
})
test("fill", () => {
// #TEST Array.fill
const array1 : number[] = [1, 2, 3, 4];
let ret1 = array1.fill(0, 2, 4)
console.log(ret1); //[1, 2, 0, 0]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册