摘要:
1 map let list = [1, 2, 3, 4, 5]; let other = list.map((d, index) => { return d * 2; }); 2 filter let list = [1, 2, 3, 4, 5]; let other = list.filter( 阅读全文
摘要:
new Date(date + time)的时候在Safari浏览器解析为 new Date(2017-06-13 13:56) Error Error Error Error new Date('2017-06-13 13:56') Invalid Date new Date('2017/06/1 阅读全文