<script type="text/javascript">
var aa =[["a",3],["b",4],["c",2],["d",1]];alert(aa.sort(function(x,y){return x[1]-y[1]}))</script>本文共 192 字,大约阅读时间需要 1 分钟。
<script type="text/javascript">
var aa =[["a",3],["b",4],["c",2],["d",1]];alert(aa.sort(function(x,y){return x[1]-y[1]}))</script>转载于:https://www.cnblogs.com/dcj890828/articles/4667895.html