const places = ['delhi', 'gurgaon', 'jaipur', 'pune']
const morePlaces = ['kochi', 'hyderabad', 'Shimla', 'Srinagar']
IMPORTANT: solve all problems using using destructuring and rest syntax
-
remove first element from places array and print the remaining array
-
insert that element at the start of the morePlaces array and print the new array
take out last three element from the morePlacesArray and take out first three elements from the places array
and print the combined array
result = ['hyderabad', 'Shimla', 'Srinagar', 'delhi', 'gurgaon', 'jaipur',]