2018.11.7

正则判断是否为空:

if(!/^s*$/.test(对象)){
document.getElementById("last").style.display="none";//若不为空,则不显示
}
 
 
git拉取本地不存在的分支:
git checkout -b 本地分支名 origin/远程分支名
原文地址:https://www.cnblogs.com/cuiwan/p/9922431.html