mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-09 00:46:55 +08:00
Update array.ts
This commit is contained in:
@ -68,7 +68,7 @@ function find(nums: number[], target: number): number {
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Driver Codes*/
|
||||
/* Driver Code */
|
||||
/* 初始化数组 */
|
||||
let arr: number[] = new Array(5).fill(0);
|
||||
console.log('数组 arr =', arr);
|
||||
|
||||
Reference in New Issue
Block a user