摘要:
1、String.fromCharCode() ==> 方法返回根据指定的UTF-16代码单元序列创建的字符串 eg: let letterArr = [] // 选出26个字母 for (let i = 65; i < 91; i++) { letterArr.push(String.fromCh 阅读全文
摘要:
1、async/await 1 标准用法: 2 function testAwait (x) { 3 return new Promise(resolve => { 4 setTimeout(() => { 5 resolve(x); 6 }, 2000); 7 }); 8 } 9 10 async 阅读全文
摘要:
情景再现 远程新建仓库,然后本地 git bash执行以下代码 git init git add . git commit -m 'xxx' git remote add origin https://username@xxx.com/xxx.git git push 在执行git push的时候出 阅读全文