Skip to content

Commit cf8a4d8

Browse files
author
Wakidur Rahaman
committed
insertion
1 parent 6295674 commit cf8a4d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/exercises/arrays/array-01.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
// Introducing Arrays
22
const arrayInit: number[] = [1, 2, 3, 4];
3+
4+
// insertion
5+
const array_insertion: number[] = [1, 2, 3, 4];
6+
array_insertion.push(5);
7+
array_insertion.push(7);
8+
array_insertion.push(2);

0 commit comments

Comments
 (0)