摘要: 1. for…in是遍历数组、对象的key; let arr = [1, 2, 3]; for (let i in arr) { console.log(i) //0,1,2 获得数组所在第几位 } let obj = { user: 'Ian', gender: 'male', }; for (l 阅读全文
posted @ 2019-09-27 11:24 IanWeberr 阅读(352) 评论(0) 推荐(0) 编辑
摘要: ssh-keygen -t rsa -C “公钥标题(key or email)” //回车键 提示:Enter file in which to save the key (/Users/用户名/.ssh/id_rsa): 复制粘贴:/Users/用户名/.ssh/id_rsa //回车键 忽略输 阅读全文
posted @ 2019-09-27 11:22 IanWeberr 阅读(555) 评论(0) 推荐(0) 编辑