背景
该项目打包出来的 js 中,有一个比较大,在网速不理想的情况下,甚至需要 7s
思路
既然......
zsp 命令g - git
gst - git status
gl - git pull
gup - git pull --rebase
gp - git push
gd - git diff
gdc - git diff --cached
gdv - git diff -w "$@&qu......
驼峰转连字符(中划线) s = s.replace(/([A-Z])/g,"-$1").toLowerCase();
连字符转驼峰function toHump(name) {
return name.replace(/\-(\w)/g, function(all, let......