2016年2月20日
摘要: 1.使用索引代替数组遍历 数组遍历方法,查找用户信息 索引方法,查找用户信息(推荐) 2.使用Array.prototype.join方法代替字符串拼接 字符串拼接方法 join方法(推荐) 注:是不是以后字符串拼接就一律使用数组join呢?这个要看你的实际需求了,就普通的几个或者K级的字节的组合就 阅读全文
posted @ 2016-02-20 14:15 reamd 阅读(256) 评论(0) 推荐(0) 编辑
摘要: git命令参数 git archive --output dist.zip commitID <目录或文件> 打包 git branch 查看所有分支 git branch -d [分支名] -D 强制删除 git blame file 查看某个代码文件每行都是谁写的 git checkout fi 阅读全文
posted @ 2016-02-20 10:21 reamd 阅读(491) 评论(0) 推荐(0) 编辑