摘要: function gettimeLine(){ const now = new Date(); now.setHours( 0 ); now.setMinutes( 0 ); now.setSeconds( 1 ); const year = now.getFullYear(); const mon 阅读全文
posted @ 2017-07-21 18:16 LSunshine 阅读(136) 评论(0) 推荐(0) 编辑
摘要: const toJSON = ( ...args ) => ( item ) => { const result = {}; for( let i = 0; i < args.length; i ++ ){ result[ args[ i ] ] = item[ i ]; } return resu 阅读全文
posted @ 2017-07-21 12:04 LSunshine 阅读(152) 评论(0) 推荐(0) 编辑