![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
转发学习类容
const@
一生二, 二生三, 三生万物
展开
-
常用GIT操作命令
转自https://www.cnblogs.com/leaf930814/p/6664706.html进入.sshcd ~/.sshgit打开id_rsa.pubcat id_rsa.pub强制合并分支git pull origin master --allow-unrelated-histories创建本地库mkidir learngit //自定义文件夹cd learngittouch test.md //创建test.md文件pwd //显示当前目录常用CRTgit转载 2020-06-30 17:41:44 · 99 阅读 · 0 评论 -
HTML中& nbsp; & ensp; & emsp;等6种空格标记
转载自:http://www.itroad.org/2017/webui_0308/504.html ,作者:leaf.HTML提供了5种空格实体(space entity),它们拥有不同的宽度,非断行空格( ;)是常规空格的宽度,可运行于所有主流浏览器。其他几种空格(     ‌‍)在不...转载 2019-07-11 11:06:59 · 474 阅读 · 0 评论 -
JS 数组位置方法 indexOf()和lastIndexOf()的理解
JS 数组位置方法 indexOf()和lastIndexOf()的理解var numbers = [1,3,5,7,9,4,3,2,1];console.log(numbers.indexOf(5)); //从数组的0位开始查找 5 位于数组里面的位置 输出2首先 理解一下 indexOf() 是从左往右查 参数“5” 位于数组的下标 所以这里打印出 2再看var numArr = ...转载 2019-07-19 15:34:11 · 337 阅读 · 1 评论