json 日期排序

users.sort((a,b)=>Date.parse(a.winningAt)-Date.parse(b.winningAt))
posted @ 2018-02-06 13:46  ybleeho  阅读(361)  评论(0编辑  收藏  举报