Skip to content

Commit 44a5a00

Browse files
author
Wakidur Rahaman
committed
access
1 parent fc373f5 commit 44a5a00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/exercises/arrays/array-01.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ array_deletion.pop();
1616
// This .shift() method will remove the first element and return it.
1717
array_deletion.shift();
1818
array_deletion.shift();
19+
20+
// Access
21+
const array_access = [1, 2, 3, 4];
22+
array_access[0];
23+
array_access[1];

0 commit comments

Comments
 (0)