You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// In this coding challenge, you will be implementing a function called reverseArray(array, value) that takes one argument: an array. The function should reverse the order of the elements in the array.
const reverseArray = (array) => {
// return array.reverse(); // using inbuilt method reverse