Returns a shallow copy of a portion of an array into a new array object selected from begin to end (end not included) where begin and end represent the index of items in that array
This is method is NOT a mutating method because the original array is not modified
const fruits = ["Peach", "Mango", "Apple", "Orange", "Grapes", "Strawberries"]
let myFavoriteFruits = fruits.slice(1, 4)
console.log(myFavoriteFruits) // Mango, Apple, Orange
// The original 'fruits' array was NOT modified
console.log(fruits) // Peach , Mango, Apple, Orange, Grapes, Strawberries