let arr = ['张三', '李四', '王五', '赵六', '孙七']; let newArr = []; for (let i = arr.length - 1; i >= 0; i--) { newArr[newArr.length] = arr[i] } console.log(newArr);
let arr = ['张三', '李四', '王五', '赵六', '孙七']; let newArr = []; for (let i = arr.length - 1; i >= 0; i--) { newArr[newArr.length] = arr[i] } console.log(newArr);