1.Write a function, reverseArray(), that takes in an array as an argument and returns a new array with the elements in the reverse order.
There’s a built-in method that does a lot of this work for you, but here you’re not allowed to use it. Don’t worry you’ll have plenty of opportunities to use built-in methods later on!
const sentence = ['sense.','make', 'all', 'will', 'This'];
reverseArray(sentence);
// Should return ['This', 'will', 'all', 'make', 'sense.'];
// Write your code here:
// When you're ready to test your code, uncomment the below and run:
/*
const sentence = ['sense.','make', 'all', 'will', 'This'];
console.log(reverseArray(sentence))
// Should print ['This', 'will', 'all', 'make', 'sense.'];
*/