摘要: var _N = document.createElement('div'); _N.innerHTML = '<a href=\'/\'>_1H</a>'; _N = _N.firstChild.href;console.log(_N) var _t = _N.match(/https?:\/\/ 阅读全文
posted @ 2024-08-01 18:45 AngDH 阅读(2) 评论(0) 推荐(0) 编辑
摘要: https://github.com/lahmatiy/es6-promise-polyfill/blob/master/promise.js (function(global){ // // Check for native Promise and it has correct interface 阅读全文
posted @ 2024-08-01 17:34 AngDH 阅读(1) 评论(0) 推荐(0) 编辑