📅  最后修改于: 2022-03-11 15:02:53.327000             🧑  作者: Mango
//sorts arrays of numbers
function myFunction() {
points.sort(function(a, b){return a-b});
document.getElementById("demo").innerHTML = points;
}