JS membalikkan array objek
var x = [{"score":1},{"score":2},{"score":3}]
console.log(x);
var y = [...x].reverse();
console.log(y);
Thoughtful Tortoise
var x = [{"score":1},{"score":2},{"score":3}]
console.log(x);
var y = [...x].reverse();
console.log(y);
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);