摘要: 解释:map即映射,返回对每项操作后组成的新数组 2. filter 方法 返回符合条件元素组成的新数组 阅读全文
posted @ 2018-12-05 16:51 liliyou 阅读(119) 评论(0) 推荐(0) 编辑
摘要: http (data) { return new Promise((resolve, reject) => { var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function () { if (xhr.readyState =... 阅读全文
posted @ 2018-12-05 16:24 liliyou 阅读(761) 评论(0) 推荐(0) 编辑