数组反转reverse 2017-12-11 本文已影响0人 不知所踪oy var a=[]; a.push(1,2,3); a.reverse(); console.log(a)// => [3,2,1]