JS Slice

Slices the array and returns shallow copy.
Doesn't mutate (alter) original array
Array Slice
Case 1: Array of strings, booleans and numbers
#1:

#2:

#3: Knowledge Test.
Answer // 1 & // 2 in comment section.

Case 2: Array of Objects

String Slice
#1:

#2: Knowledge Test:
Answer // 1 in comments




