var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.reverse(); // 反转元素顺序
https://www.w3school.com.cn/js/js_array_sort.asp