mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-25 16:06:27 +08:00
Update array.ts
This commit is contained in:
parent
0b27c89479
commit
4ea5c5b9cb
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ function find(nums: number[], target: number): number {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Driver Codes*/
|
/* Driver Code */
|
||||||
/* 初始化数组 */
|
/* 初始化数组 */
|
||||||
let arr: number[] = new Array(5).fill(0);
|
let arr: number[] = new Array(5).fill(0);
|
||||||
console.log('数组 arr =', arr);
|
console.log('数组 arr =', arr);
|
||||||
|
|
Loading…
Reference in a new issue