Skip to content

Commit 8c74a98

Browse files
committed
new stuff
1 parent 826e2e0 commit 8c74a98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CodingInterviewQuestions/SlicedArr.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const array = [1, 2, 3, 4, 5];
2+
const slicedArray = array.slice(1, 4);
3+
console.log(slicedArray); // Output: [2, 3, 4]

0 commit comments

Comments
 (0)