json 日期排序

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