数组的翻转(非reverse)

   var arr = [1, 5, 8, 9, 6, 3];
        var arr2 = [];
        while (arr.length) {
            var temp = arr.pop();
            arr2.push(temp)
        }
        alert(arr2)
原文地址:https://www.cnblogs.com/samsara-yx/p/7911807.html