📅  最后修改于: 2022-03-11 15:03:21.248000             🧑  作者: Mango
var x = [{"score":1},{"score":2},{"score":3}]
console.log(x);
var y = x.reverse();
console.log(y);
if the above method does not work than try this
var y = [...x].reverse();
console.log(y);