Answers for "reverse the order of the array of objects"

2

js reverse array of objects

var x = [{"score":1},{"score":2},{"score":3}]
console.log(x);
var y = [...x].reverse();
console.log(y);
Posted by: Guest on July-27-2021

Code answers related to "reverse the order of the array of objects"

Code answers related to "Javascript"

Browse Popular Code Answers by Language