排序数组
data.sort(function(x, y) { return x.play_time > y.play_time ? -1 : 1; });
阅读剩余
版权声明:
作者:lc_soul
链接:https://blog.lcsoul.cn/archives/274
文章版权归作者所有,未经允许请勿转载。
THE END
data.sort(function(x, y) { return x.play_time > y.play_time ? -1 : 1; });