摘要:
1 function jsonp(url, data, callback,callBackName='call') { 2 let s = document.createElement('script'); 3 //parameter 4 let arr = []; 5 for(let name i 阅读全文
摘要:
1 //调用方式: 2 ajax( 3 'http://www.baidu.com', 4 {name:'json'} 5 ).then((res)=>{ 6 console.log(res); 7 }) function ajax(url,data) { return new Promise((r 阅读全文
摘要:
template <class T>int dichotomy(T arr, int len, int com){ int start = 0; int end = len; int index = len / 2; while (start <= end) { if (arr[index] > c 阅读全文
![](/skins/gray/images/separator.gif)